Skip to content

Commit cd760bd

Browse files
committed
fix: install libx11-dev for ubuntu build
1 parent 9eec7fc commit cd760bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
runs-on: ${{ matrix.os }}
3333
steps:
3434
- uses: actions/checkout@v4
35+
# on unbuntu-latest, libx11-dev is required for building.
36+
- 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
3541
- uses: taiki-e/upload-rust-binary-action@v1
3642
with:
3743
# (required) Comma-separated list of binary names (non-extension portion of filename) to build and upload.

0 commit comments

Comments
 (0)