File tree 1 file changed +12
-9
lines changed
1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change 1
1
name : Build
2
2
3
- on : [ push, pull_request ]
4
-
5
- env :
6
- DOTNET_VERSION : ' 6.0.301'
3
+ on :
4
+ push :
5
+ branches : [master, develop]
6
+ pull_request :
7
+ branches : [master, develop]
8
+ workflow_dispatch :
7
9
8
10
jobs :
9
11
build :
@@ -13,14 +15,15 @@ jobs:
13
15
- uses : actions/checkout@v2
14
16
with :
15
17
fetch-depth : 0
16
- - name : Setup .NET
17
- uses : actions/setup-dotnet@v1
18
+ - name : Setup dotnet
19
+ uses : actions/setup-dotnet@v4
18
20
with :
19
- dotnet-version : ${{ env.DOTNET_VERSION }}
21
+ dotnet-version : |
22
+ 6.0.x
23
+ 8.0.x
24
+ 9.0.x
20
25
- name : Build
21
26
run : dotnet build -c Release
22
- # - name: Test
23
- # run: dotnet test --no-build test\Squirrel.Tests\Squirrel.Tests.csproj -c Release -l "console;verbosity=detailed"
24
27
- name : Upload Artifacts
25
28
uses : actions/upload-artifact@v3
26
29
with :
You can’t perform that action at this time.
0 commit comments