File tree Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Expand file tree Collapse file tree 1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,14 @@ jobs:
27
27
run : dotnet restore
28
28
29
29
- name : Build library
30
- run : dotnet build -c Release --no-restore
30
+ run : dotnet build -c Debug --no-restore
31
31
32
32
- name : Upload artifacts
33
33
uses : actions/upload-artifact@v4
34
34
with :
35
35
name : Compiled project
36
36
path : ${{ github.workspace }}
37
+ retention-days : 1
37
38
38
39
test :
39
40
needs : build
@@ -67,18 +68,11 @@ jobs:
67
68
run : |
68
69
$coverage = if ("${{ matrix.dotnet-framework.coverage }}" -eq "true") { "/p:CollectCoverage=true /p:CoverletOutputFormat=opencover" } else { "" }
69
70
$noBuild = if ("${{ matrix.dotnet-framework.no-build }}" -eq "true") { "--no-build" } else { "" }
70
- dotnet test -c Release -f ${{ matrix.dotnet-framework.framework }} --nologo $noBuild $coverage
71
+ dotnet test -c Debug -f ${{ matrix.dotnet-framework.framework }} --nologo $noBuild $coverage
71
72
72
73
additional-tests :
73
- needs : build
74
74
runs-on : windows-latest
75
75
steps :
76
- - name : Download artifacts
77
- uses : actions/download-artifact@v4
78
- with :
79
- name : Compiled project
80
- path : ${{ github.workspace }}
81
-
82
76
- name : Install additional .NET SDKs
83
77
uses : actions/setup-dotnet@v4
84
78
with :
91
85
- name : Run API approval tests
92
86
working-directory : QRCoderApiTests
93
87
run : dotnet test -c Release --nologo --no-build
94
-
95
- clean :
96
- needs : [build, test, additional-tests]
97
- if : always()
98
- runs-on : windows-latest
99
- steps :
100
- - name : Delete artifacts
101
- uses : GeekyEggo/delete-artifact@v5
102
- with :
103
- name : Compiled project
You can’t perform that action at this time.
0 commit comments