Skip to content

Commit 837e499

Browse files
committed
ci: update GitHub Actions workflows (3 modified)
1 parent e797762 commit 837e499

3 files changed

Lines changed: 28 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14+
- name: Cache apt packages
15+
uses: actions/cache@v4
16+
with:
17+
path: /var/cache/apt/archives
18+
key: apt-gtk-${{ runner.os }}-${{ hashFiles('.github/workflows/ci.yml') }}
19+
restore-keys: apt-gtk-${{ runner.os }}-
20+
1421
- name: Install GTK development dependencies
15-
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libglib2.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf pkg-config
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y libgtk-3-dev libglib2.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf pkg-config
1625
1726
- name: Setup pnpm
1827
uses: pnpm/action-setup@v4

.github/workflows/release-gui.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,14 @@ jobs:
8787
restore-keys: |
8888
${{ runner.os }}-cargo-
8989
90+
- name: Cache apt packages
91+
if: matrix.platform == 'ubuntu-24.04'
92+
uses: actions/cache@v4
93+
with:
94+
path: /var/cache/apt/archives
95+
key: apt-gtk-${{ runner.os }}-${{ hashFiles('.github/workflows/release-gui.yml') }}
96+
restore-keys: apt-gtk-${{ runner.os }}-
97+
9098
- name: Install dependencies (ubuntu x86_64)
9199
if: matrix.platform == 'ubuntu-24.04'
92100
run: |

.github/workflows/test.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,17 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14+
- name: Cache apt packages
15+
uses: actions/cache@v4
16+
with:
17+
path: /var/cache/apt/archives
18+
key: apt-gtk-${{ runner.os }}-${{ hashFiles('.github/workflows/test.yml') }}
19+
restore-keys: apt-gtk-${{ runner.os }}-
20+
1421
- name: Install GTK development dependencies
15-
run: sudo apt-get update && sudo apt-get install -y libgtk-3-dev libglib2.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf pkg-config
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y libgtk-3-dev libglib2.0-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf pkg-config
1625
1726
- name: Setup pnpm
1827
uses: pnpm/action-setup@v4

0 commit comments

Comments
 (0)