mirror of
https://github.com/Hopiu/lychee.git
synced 2026-03-17 05:00:26 +00:00
Release the macOS binaries also as .tar.gz (#1642)
* Tar the macOS binary * Upload the .tar.gz
This commit is contained in:
parent
d6bbf85145
commit
b1cb2564a2
1 changed files with 12 additions and 1 deletions
13
.github/workflows/release-binary.yml
vendored
13
.github/workflows/release-binary.yml
vendored
|
|
@ -121,8 +121,9 @@ jobs:
|
|||
mkdir dmg
|
||||
mv lychee dmg/
|
||||
hdiutil create -fs HFS+ -srcfolder dmg -volname lychee lychee.dmg
|
||||
tar -czvf lychee.tar.gz -C dmg/ lychee
|
||||
|
||||
- name: Upload binary
|
||||
- name: Upload .dmg
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
@ -132,6 +133,16 @@ jobs:
|
|||
upload_url: ${{needs.prepare.outputs.upload_url}}
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
- name: Upload .tar.gz
|
||||
uses: actions/upload-release-asset@v1
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
with:
|
||||
asset_name: lychee-arm64-macos.tar.gz
|
||||
asset_path: target/release/lychee.tar.gz
|
||||
upload_url: ${{needs.prepare.outputs.upload_url}}
|
||||
asset_content_type: application/octet-stream
|
||||
|
||||
windows:
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue