Update dotnet-build-test.yml
This commit is contained in:
parent
300223c442
commit
25658a60b6
1 changed files with 2 additions and 3 deletions
5
.github/workflows/dotnet-build-test.yml
vendored
5
.github/workflows/dotnet-build-test.yml
vendored
|
|
@ -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:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue