Skip to content

Commit

Permalink
sometimes you just need a little less -C
Browse files Browse the repository at this point in the history
  • Loading branch information
Beyley committed May 11, 2024
1 parent fd7e400 commit 3f1c80d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,16 @@ jobs:
# which means the executable bit is lost, which is un-ideal for end users, who will hit weird errors (especially relating to code signing on macOS)
- name: 'Tar macOS x64 build'
if: matrix.os == 'macos-latest'
run: tar -cvf Refresher-x64.tar -C Refresher/bin/Release/net8.0/osx-x64/publish/ *.app
working-directory: Refresher/bin/Release/net8.0/osx-x64/publish/
run: tar -cvf ~/Refresher-x64.tar *.app
- name: 'Tar macOS ARM64 build'
if: matrix.os == 'macos-latest'
run: tar -cvf Refresher-arm64.tar -C Refresher/bin/Release/net8.0/osx-arm64/publish/ *.app
working-directory: Refresher/bin/Release/net8.0/osx-arm64/publish/
run: tar -cvf ~/Refresher-arm64.tar *.app
- name: 'Tar Linux x64'
working-directory: Refresher/bin/Release/net8.0/linux-x64/publish/
if: matrix.os == 'ubuntu-latest'
run: tar -cvf Refresher.tar -C Refresher/bin/Release/net8.0/linux-x64/publish/ *
run: tar -cvf ~/Refresher.tar *

- name: Upload Linux x64 build
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit 3f1c80d

Please sign in to comment.