mirror of
https://github.com/GuillemCastro/spotify-dl.git
synced 2024-11-22 10:20:26 +01:00
Update rust.yml
This commit is contained in:
parent
8cbf2435f6
commit
3d5e1816ff
1 changed files with 6 additions and 6 deletions
12
.github/workflows/rust.yml
vendored
12
.github/workflows/rust.yml
vendored
|
@ -18,11 +18,11 @@ jobs:
|
||||||
platform: [macos-latest, ubuntu-latest, windows-latest]
|
platform: [macos-latest, ubuntu-latest, windows-latest]
|
||||||
include:
|
include:
|
||||||
- platform: macos-latest
|
- platform: macos-latest
|
||||||
target: macos
|
target: macos-x86_64
|
||||||
- platform: ubuntu-latest
|
- platform: ubuntu-latest
|
||||||
target: linux64
|
target: linux-x86_64
|
||||||
- platform: windows-latest
|
- platform: windows-latest
|
||||||
target: win64
|
target: windows-x86_64
|
||||||
# platform: [ubuntu-latest]
|
# platform: [ubuntu-latest]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
@ -32,14 +32,14 @@ jobs:
|
||||||
uses: dtolnay/rust-toolchain@stable
|
uses: dtolnay/rust-toolchain@stable
|
||||||
- if: matrix.platform == 'ubuntu-latest'
|
- if: matrix.platform == 'ubuntu-latest'
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
sudo apt-get update
|
||||||
apt-get install -y libasound2-dev gcc alsa
|
sudo apt-get install -y libasound2-dev gcc alsa
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build --verbose --release
|
cargo build --verbose --release
|
||||||
- name: Rename binary
|
- name: Rename binary
|
||||||
run: |
|
run: |
|
||||||
mv target/release/spotify-dl target/release/spotify-dl.${{ matrix.target }}
|
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