finally fixes workflow
This commit is contained in:
parent
25658a60b6
commit
03a2b496f4
1 changed files with 3 additions and 2 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/character-records-generator.zip
|
CharacterRecordsGenerator/bin/Release/*.exe
|
||||||
|
CharacterRecordsGenerator/bin/Release/*.dll
|
||||||
deploy:
|
deploy:
|
||||||
name: Create release
|
name: Create release
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -55,6 +55,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: character-records-generator
|
name: character-records-generator
|
||||||
- run: ls
|
- run: ls
|
||||||
|
- run: zip character-records-generator.zip '*.dll' '*.exe'
|
||||||
- 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