File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -137,16 +137,18 @@ jobs:
137137 if : contains(matrix.settings.host, 'ubuntu')
138138 uses : actions/cache@v4
139139 with :
140- path : /var/cache/ apt/archives
140+ path : ~/ apt-cache
141141 key : ${{ runner.os }}-${{ matrix.settings.target }}-apt-${{ hashFiles('.github/workflows/publish.yml') }}
142142 restore-keys : |
143143 ${{ runner.os }}-${{ matrix.settings.target }}-apt-
144144
145145 - name : install dependencies (ubuntu only)
146146 if : contains(matrix.settings.host, 'ubuntu')
147147 run : |
148+ mkdir -p ~/apt-cache && chmod -R a+rw ~/apt-cache
148149 sudo apt-get update
149- sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
150+ sudo apt-get install -y --no-install-recommends -o dir::cache::archives="$HOME/apt-cache" libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
151+ sudo chmod -R a+rw ~/apt-cache
150152
151153 - name : install Rust stable
152154 uses : dtolnay/rust-toolchain@stable
You can’t perform that action at this time.
0 commit comments