We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece08c9 commit beb66b6Copy full SHA for beb66b6
.github/workflows/main.yml
@@ -0,0 +1,35 @@
1
+name: .NET Build
2
+
3
+on:
4
+ push:
5
+ branches: ["*"] # Runs on any branch push
6
+ pull_request:
7
+ branches: [master] # Runs on PRs to master
8
9
+jobs:
10
+ build:
11
+ name: ChsarpUpdation
12
+ runs-on: ubuntu-latest
13
14
+ steps:
15
+ # Checkout repository
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
19
+ # Setup .NET (update version if your project uses different .NET version)
20
+ - name: Setup .NET
21
+ uses: actions/setup-dotnet@v4
22
+ with:
23
+ dotnet-version: '8.0.x'
24
25
+ # Restore dependencies
26
+ - name: Restore dependencies
27
+ run: dotnet restore
28
29
+ # Build project
30
+ - name: Build
31
+ run: dotnet build --no-restore --configuration Release
32
33
34
35
0 commit comments