Skip to content

Commit 5d34310

Browse files
committed
fix(ci): workaround for cache-key conflicts in cache-apt-pkgs-action
See: awalsh128/cache-apt-pkgs-action#150
1 parent ed0fdec commit 5d34310

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/deploy.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ jobs:
8181
uses: awalsh128/cache-apt-pkgs-action@v1
8282
with:
8383
packages: libmpfr-dev libzstd-dev
84-
version: 1.0
84+
# We need to handle a bug that may cause cache key conflicts.
85+
# See: https://github.com/awalsh128/cache-apt-pkgs-action/pull/150
86+
version: ${{ runner.arch }}-1.0
8587

8688
- name: Install dependencies (Windows)
8789
if: runner.os == 'Windows'

.github/workflows/test.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ jobs:
3939
uses: awalsh128/cache-apt-pkgs-action@v1
4040
with:
4141
packages: libmpfr-dev libzstd-dev
42-
version: 1.0
42+
# We need to handle a bug that may cause cache key conflicts.
43+
# See: https://github.com/awalsh128/cache-apt-pkgs-action/pull/150
44+
version: ${{ runner.arch }}-1.0
4345

4446
- name: Install MPI if necessary
4547
if: matrix.bin == 'parform' || matrix.bin == 'parvorm'
@@ -136,7 +138,9 @@ jobs:
136138
uses: awalsh128/cache-apt-pkgs-action@v1
137139
with:
138140
packages: libmpfr-dev libzstd-dev valgrind
139-
version: 1.0
141+
# We need to handle a bug that may cause cache key conflicts.
142+
# See: https://github.com/awalsh128/cache-apt-pkgs-action/pull/150
143+
version: ${{ runner.arch }}-1.0
140144

141145
- name: Configure
142146
run: |
@@ -180,7 +184,9 @@ jobs:
180184
uses: awalsh128/cache-apt-pkgs-action@v1
181185
with:
182186
packages: lcov libmpfr-dev libzstd-dev
183-
version: 1.0
187+
# We need to handle a bug that may cause cache key conflicts.
188+
# See: https://github.com/awalsh128/cache-apt-pkgs-action/pull/150
189+
version: ${{ runner.arch }}-1.0
184190

185191
- name: Configure
186192
run: |

0 commit comments

Comments
 (0)