Skip to content

Commit

Permalink
chore(ci): Fix build by adding needde "apt update"
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed May 30, 2024
1 parent 1ab5de4 commit 1abb9ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
toolchain: nightly
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- uses: actions-rs/cargo@v1
with:
command: install
Expand All @@ -56,7 +56,7 @@ jobs:
components: rustfmt
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- uses: actions-rs/cargo@v1
with:
command: fmt
Expand All @@ -74,7 +74,7 @@ jobs:
components: clippy
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- name: Run clippy action to produce annotations
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -101,7 +101,7 @@ jobs:
components: rustfmt
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- uses: actions-rs/cargo@v1
with:
command: doc
Expand All @@ -118,7 +118,7 @@ jobs:
toolchain: nightly
override: true
- name: Install libvncserver-dev
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- name: Test with all features turned off
uses: actions-rs/cargo@v1
with:
Expand Down Expand Up @@ -165,7 +165,7 @@ jobs:
- name: Print CPU architecture
run: uname -m && uname -a
- if: runner.os == 'Linux'
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- if: runner.os == 'macOS'
run: brew install libvncserver
# - if: runner.os == 'Windows'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
target: ${{ matrix.target }}
override: true
- if: runner.os == 'Linux'
run: sudo apt install -y libvncserver-dev
run: sudo apt update && sudo apt install -y libvncserver-dev
- if: runner.os == 'macOS'
run: brew install libvncserver
- name: Build binary
Expand Down

0 comments on commit 1abb9ae

Please sign in to comment.