mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-21 18:00:26 +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
|
||||
run: |
|
||||
cargo build --verbose --release
|
||||
- name: Rename binary
|
||||
- if: matrix.platform == 'windows-latest'
|
||||
name: Rename binary
|
||||
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"
|
||||
with:
|
||||
repo_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
|
|
Loading…
Reference in a new issue