Skip to content

Commit

Permalink
Merge pull request #39 from hmumm/fix-github-actions-workflow
Browse files Browse the repository at this point in the history
fixed actions
  • Loading branch information
hmumm authored Nov 20, 2020
2 parents b7888bd + 1ac8848 commit 5a19e67
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-core-pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
run: dotnet test HJM.Chip8/HJM.Chip8.sln --no-restore --verbosity normal
- name: Zip
run: |
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/netcoreapp3.1/
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/net5.0/
zip -r Chip8.zip *
mv Chip8.zip ../../../../../
- name: Release
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dotnet-core-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
- name: Build win-x64
run: |
dotnet publish HJM.Chip8/HJM.Chip8.MonoGameUI/HJM.Chip8.MonoGameUI.csproj -c Release -r win-x64 /p:PublishReadyToRun=false /p:TieredCompilation=false --self-contained
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/netcoreapp3.1/win-x64/publish
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/net5.0/win-x64/publish
zip -r Chip8-win-x64.zip *
mv Chip8-win-x64.zip ../../../../../../../Chip8-win-x64.zip
- name: Build osx-x64
run: |
dotnet publish HJM.Chip8/HJM.Chip8.MonoGameUI/HJM.Chip8.MonoGameUI.csproj -c Release -r osx-x64 /p:PublishReadyToRun=false /p:TieredCompilation=false --self-contained
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/netcoreapp3.1/osx-x64/publish
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/net5.0/osx-x64/publish
zip -r Chip8-osx-x64.zip *
mv Chip8-osx-x64.zip ../../../../../../../Chip8-osx-x64.zip
- name: Build linux-x64
run: |
dotnet publish HJM.Chip8/HJM.Chip8.MonoGameUI/HJM.Chip8.MonoGameUI.csproj -c Release -r linux-x64 /p:PublishReadyToRun=false /p:TieredCompilation=false --self-contained
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/netcoreapp3.1/linux-x64/publish
cd HJM.Chip8/HJM.Chip8.MonoGameUI/bin/Release/net5.0/linux-x64/publish
zip -r Chip8-linux-x64.zip *
mv Chip8-linux-x64.zip ../../../../../../../Chip8-linux-x64.zip
- name: Get the version
Expand Down

0 comments on commit 5a19e67

Please sign in to comment.