mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-24 02:50:27 +01:00
generate tar for mac on release
This commit is contained in:
parent
72e27605c5
commit
302367232e
1 changed files with 8 additions and 2 deletions
10
.github/workflows/macos.yml
vendored
10
.github/workflows/macos.yml
vendored
|
@ -26,9 +26,15 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
|
- name: Compress binary
|
||||||
|
run: |
|
||||||
|
tar -czvf target/release/spotify-dl.macos.tar.gz target/release/spotify-dl
|
||||||
|
- name: SHA 256
|
||||||
|
run: |
|
||||||
|
shasum -a 256 target/release/spotify-dl.macos.tar.gz
|
||||||
- name: Rename binary
|
- name: Rename binary
|
||||||
run: |
|
run: |
|
||||||
mv target/release/spotify-dl target/release/spotify-dl.macos-x86_64
|
mv target/release/spotify-dl target/release/spotify-dl.macos
|
||||||
- name: Upload MacOS Artifact
|
- name: Upload MacOS Artifact
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
|
@ -37,5 +43,5 @@ jobs:
|
||||||
omitBody: True
|
omitBody: True
|
||||||
omitBodyDuringUpdate: True
|
omitBodyDuringUpdate: True
|
||||||
omitNameDuringUpdate: True
|
omitNameDuringUpdate: True
|
||||||
artifacts: target/release/spotify-dl.macos-x86_64
|
artifacts: target/release/spotify-dl.macos, target/release/spotify-dl.macos.tar.gz
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue