We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57b7ff3 commit 5a430b4Copy full SHA for 5a430b4
1 file changed
.github/workflows/ci.yml
@@ -23,10 +23,20 @@ jobs:
23
steps:
24
- uses: actions/checkout@v4
25
26
+ - name: Cache apt packages
27
+ uses: actions/cache@v4
28
+ with:
29
+ path: ~/apt-cache
30
+ key: ${{ runner.os }}-apt-tauri-${{ hashFiles('.github/workflows/ci.yml') }}
31
+ restore-keys: |
32
+ ${{ runner.os }}-apt-tauri-
33
+
34
- name: Install Linux dependencies
35
run: |
36
+ mkdir -p ~/apt-cache && chmod -R a+rw ~/apt-cache
37
sudo apt-get update
- sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
38
+ sudo apt-get install -y --no-install-recommends -o dir::cache::archives="$HOME/apt-cache" libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
39
+ sudo chmod -R a+rw ~/apt-cache
40
41
- uses: dtolnay/rust-toolchain@stable
42
0 commit comments