Skip to content

Commit

Permalink
action: update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
limitcool committed Jan 9, 2024
1 parent 95c3ec2 commit d9340a9
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,12 @@ jobs:
mv bins-$platform/$BIN_NAME$exe tmp/$pkgname
chmod +x tmp/$pkgname/$BIN_NAME$exe
mv tmp/$pkgname/$BIN_NAME$exe dist/$pkgname$exe
# if [ "$exe" = "" ]; then
# tar cJf dist/$pkgname.tar.xz -C tmp $pkgname
# else
# (cd tmp && 7z a -r ../dist/$pkgname.zip $pkgname)
# fi
done
- name: Upload binaries to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: dist/*
file: dist/*/*
file_glob: true
tag: ${{ steps.tagname.outputs.val }}
overwrite: true
Expand Down

0 comments on commit d9340a9

Please sign in to comment.