Skip to content

Commit 4c5251d

Browse files
committed
update workflows
1 parent ce6b043 commit 4c5251d

File tree

1 file changed

+3
-19
lines changed

1 file changed

+3
-19
lines changed

.github/workflows/wf-build-test.yml

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ jobs:
2727
run: dotnet restore
2828

2929
- name: Build library
30-
run: dotnet build -c Release --no-restore
30+
run: dotnet build -c Debug --no-restore
3131

3232
- name: Upload artifacts
3333
uses: actions/upload-artifact@v4
3434
with:
3535
name: Compiled project
3636
path: ${{ github.workspace }}
37+
retention-days: 1
3738

3839
test:
3940
needs: build
@@ -67,18 +68,11 @@ jobs:
6768
run: |
6869
$coverage = if ("${{ matrix.dotnet-framework.coverage }}" -eq "true") { "/p:CollectCoverage=true /p:CoverletOutputFormat=opencover" } else { "" }
6970
$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
7172
7273
additional-tests:
73-
needs: build
7474
runs-on: windows-latest
7575
steps:
76-
- name: Download artifacts
77-
uses: actions/download-artifact@v4
78-
with:
79-
name: Compiled project
80-
path: ${{ github.workspace }}
81-
8276
- name: Install additional .NET SDKs
8377
uses: actions/setup-dotnet@v4
8478
with:
@@ -91,13 +85,3 @@ jobs:
9185
- name: Run API approval tests
9286
working-directory: QRCoderApiTests
9387
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

0 commit comments

Comments
 (0)