Skip to content

Commit 90929e6

Browse files
authored
Merge pull request #78 from Profiidev/ci/fix-apt-install
ci: fix apt install
2 parents 4159fbb + 4147ae4 commit 90929e6

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,15 @@ jobs:
2222
ref: ${{ github.event.pull_request.head.ref }}
2323
- uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
2424

25+
- name: refresh apt index (ubuntu only)
26+
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
27+
run: sudo apt-get update
28+
2529
- uses: awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # latest
2630
if: ${{ github.event.pull_request.head.repo.full_name == github.repository }}
2731
with:
2832
packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-dev libpcsclite-dev
29-
version: 1.1
33+
version: 1.2
3034

3135
- name: Cache cargo and rust files
3236
id: rust_cache

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,13 @@ jobs:
2828
- name: Install Rust toolchain
2929
uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4 # stable
3030

31+
- name: refresh apt index (ubuntu only)
32+
run: sudo apt-get update
33+
3134
- uses: awalsh128/cache-apt-pkgs-action@553a35bb8ebd9fcabcb1c9451aa4c98e1b4ca8a9 # latest
3235
with:
3336
packages: libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf libudev-dev libpcsclite-dev
34-
version: 1.1
37+
version: 1.2
3538

3639
- name: Cache cargo and rust files
3740
id: rust_cache

0 commit comments

Comments
 (0)