Update dotnet-build-test.yml

This commit is contained in:
Llywelwyn 2022-07-25 23:13:06 +01:00 committed by GitHub
parent 300223c442
commit 25658a60b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,13 +26,13 @@ jobs:
run: msbuild $env:Solution_Name /t:Rebuild -property:Configuration=Release run: msbuild $env:Solution_Name /t:Rebuild -property:Configuration=Release
- name: Unit tests - name: Unit tests
run: dotnet test --no-build --verbosity normal run: dotnet test --no-build --verbosity normal
- run: zip -r character-records-generator.zip CharacterRecordsGenerator/bin/Release '*.exe' '*.dll'
- name: Archive - name: Archive
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v3
with: with:
name: character-records-generator name: character-records-generator
path: | path: |
CharacterRecordsGenerator/bin/Release/*.exe CharacterRecordsGenerator/bin/Release/character-records-generator.zip
CharacterRecordsGenerator/bin/Release/*.dll
deploy: deploy:
name: Create release name: Create release
runs-on: ubuntu-latest runs-on: ubuntu-latest
@ -55,7 +55,6 @@ jobs:
with: with:
name: character-records-generator name: character-records-generator
- run: ls - run: ls
- run: zip -r "character-records-generator.zip" character-records-generator // debugging workflow
- name: Upload character-records-generator - name: Upload character-records-generator
uses: actions/upload-release-asset@v1 uses: actions/upload-release-asset@v1
env: env: