Skip to content

Commit 6d316be

Browse files
committed
Update github action
1 parent 36f7ebd commit 6d316be

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

.github/workflows/deploy.yml

+9-11
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,6 @@ jobs:
1616
strategy:
1717
matrix:
1818
include:
19-
- build: linux
20-
os: ubuntu-latest
21-
target: x86_64-unknown-linux-musl
22-
2319
- build: macos_x86
2420
os: macos-latest
2521
target: x86_64-apple-darwin
@@ -31,14 +27,21 @@ jobs:
3127
- build: windows
3228
os: windows-latest
3329
target: x86_64-pc-windows-gnu
30+
31+
- build: linux
32+
os: ubuntu-latest
33+
target: x86_64-unknown-linux-musl
3434

3535
steps:
36-
- name: Checkout
37-
uses: actions/checkout@v3
36+
- uses: actions/checkout@v4
3837

3938
- name: Get the release version from the tag
4039
shell: bash
4140
run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
41+
42+
- name: Install alsa.pc on Ubuntu
43+
if: matrix.os == 'ubuntu-latest'
44+
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev
4245

4346
- name: Install Rust
4447
# Or @nightly if you want
@@ -48,11 +51,6 @@ jobs:
4851
# Make Rust compile to our target (defined in the matrix)
4952
targets: ${{ matrix.target }}
5053

51-
52-
- name: Install alsa.pc on Ubuntu
53-
if: matrix.os == 'ubuntu-latest'
54-
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev
55-
5654
- name: Build
5755
uses: actions-rs/cargo@v1
5856
with:

0 commit comments

Comments
 (0)