We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1d66cf5 commit e6656bbCopy full SHA for e6656bb
.github/workflows/build-validation-test.yaml
@@ -0,0 +1,34 @@
1
+name: build
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
+ branches: [ main ]
7
+ paths:
8
+ - '**.cs'
9
+ - '**.csproj'
10
11
+env:
12
+ DOTNET_VERSION: '9.0.*' # The .NET SDK version to use
13
14
+jobs:
15
+ build:
16
17
+ name: build-${{matrix.os}}
18
+ runs-on: ${{ matrix.os }}
19
+ strategy:
20
+ matrix:
21
+ os: [ubuntu-latest, windows-latest, macOS-latest]
22
23
+ steps:
24
+ - uses: actions/checkout@v3
25
+ - name: Setup .NET Core
26
+ uses: actions/setup-dotnet@v3
27
+ with:
28
+ dotnet-version: ${{ env.DOTNET_VERSION }}
29
30
+ - name: Install dependencies
31
+ run: dotnet restore
32
33
+ - name: Build
34
+ run: dotnet build --configuration Release --no-restore
0 commit comments