Skip to content

Commit

Permalink
fix: *nix系统打包加一层tar,防止丢失权限
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxuuu authored May 6, 2024
1 parent 4a9b956 commit a350a4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
dotnet publish -r $DOTNETOS-$DOTNETARCH --configuration Release -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true
mkdir pkg
mv bin/Release/net8.0/$DOTNETOS-$DOTNETARCH/publish/* pkg/
if [[ "$DOTNETOS-$DOTNETARCH" =~ "win-" ]]; then :; else mv pkg/ llcom/; tar -cvf llcom.tar llcom/; mkdir pkg; mv llcom.tar pkg/; fi
- uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit a350a4d

Please sign in to comment.