Skip to content

Commit c9945a9

Browse files
committed
Update github action
1 parent 6d316be commit c9945a9

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/deploy.yml

+2-6
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
- name: Install alsa.pc on Ubuntu
4343
if: matrix.os == 'ubuntu-latest'
44-
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev
44+
run: sudo apt-get install -y libasound2-dev libudev-dev librust-alsa-sys-dev && export PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig/
4545

4646
- name: Install Rust
4747
# Or @nightly if you want
@@ -52,11 +52,7 @@ jobs:
5252
targets: ${{ matrix.target }}
5353

5454
- name: Build
55-
uses: actions-rs/cargo@v1
56-
with:
57-
use-cross: true
58-
command: build
59-
args: --verbose --release --target ${{ matrix.target }}
55+
run: cargo build --verbose --release --target ${{ matrix.target }}
6056

6157
- name: Run tests
6258
run: cargo test --verbose

0 commit comments

Comments
 (0)