mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-10 05:20:25 +01:00
Update rust.yml
This commit is contained in:
parent
3d5e1816ff
commit
871b79cfbc
1 changed files with 7 additions and 2 deletions
9
.github/workflows/rust.yml
vendored
9
.github/workflows/rust.yml
vendored
|
@ -37,9 +37,14 @@ jobs:
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
- name: Rename binary
|
- if: matrix.platform == 'windows-latest'
|
||||||
|
name: Rename binary
|
||||||
run: |
|
run: |
|
||||||
mv target/release/spotify-dl* target/release/spotify-dl.${{ matrix.target }}
|
mv target/release/spotify-dl.exe target/release/spotify-dl.${{ matrix.target }}
|
||||||
|
- if: matrix.platform != 'windows-latest'
|
||||||
|
name: Rename binary
|
||||||
|
run: |
|
||||||
|
mv target/release/spotify-dl target/release/spotify-dl.${{ matrix.target }}
|
||||||
- uses: "marvinpinto/action-automatic-releases@latest"
|
- uses: "marvinpinto/action-automatic-releases@latest"
|
||||||
with:
|
with:
|
||||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
|
Loading…
Reference in a new issue