Skip to content

Commit

Permalink
Store zip with proper path and name
Browse files Browse the repository at this point in the history
  • Loading branch information
Meister1593 committed Jan 3, 2024
1 parent 484f987 commit d48c184
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/dotnet-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,15 @@ jobs:
- name: Publish for windows
run: dotnet publish -r win-x64 -c Release
- name: Pack linux build
run: zip -r ADBForwarder-linux-x64.zip ADBForwarder/bin/Release/net8.0/linux-x64/
run: cd ADBForwarder/bin/Release/net8.0/linux-x64/ &&
mv publish adbforwarder &&
zip -r ADBForwarder-linux-x64.zip adbforwarder &&
cd -
- name: Pack windows build
run: zip -r ADBForwarder-windows-x64.zip ADBForwarder/bin/Release/net8.0/win-x64/
run: cd ADBForwarder/bin/Release/net8.0/win-x64/ &&
mv publish adbforwarder &&
zip -r ADBForwarder-windows-x64.zip adbforwarder &&
cd - &&
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
Expand Down

0 comments on commit d48c184

Please sign in to comment.