Skip to content

Commit c81ffbc

Browse files
committed
fix: correct dep install to not break windows build
1 parent cd760bd commit c81ffbc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,9 @@ jobs:
3434
- uses: actions/checkout@v4
3535
# on unbuntu-latest, libx11-dev is required for building.
3636
- name: Install dependencies
37-
run: |
38-
if [ ${{ matrix.os }} = 'ubuntu-latest' ]; then
39-
sudo apt-get update && sudo apt-get install -y libx11-dev
40-
fi
37+
- name: Install dependencies (Ubuntu)
38+
if: matrix.os == 'ubuntu-latest'
39+
run: sudo apt-get update && sudo apt-get install -y libx11-dev
4140
- uses: taiki-e/upload-rust-binary-action@v1
4241
with:
4342
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.

0 commit comments

Comments
 (0)