Skip to content

Commit 237ecfb

Browse files
committed
Ubuntu 18.04 and 20.04 should use separate cache keys
1 parent 1d78375 commit 237ecfb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
- uses: actions/cache@v1
4040
with:
4141
path: ../build-cache
42-
key: ${{ runner.os }}-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
42+
key: ubuntu-18.04-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
4343
restore-keys: |
44-
${{ runner.os }}-sccache-v10-
44+
ubuntu-18.04-sccache-v10-
4545
- name: Build Ubuntu 18.04 installable archive
4646
run: |
4747
./utils/webassembly/ci.sh
@@ -85,9 +85,9 @@ jobs:
8585
- uses: actions/cache@v1
8686
with:
8787
path: ../build-cache
88-
key: ${{ runner.os }}-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
88+
key: ubuntu-20.04-sccache-v10-${{ steps.cache_timestamp.outputs.timestamp }}
8989
restore-keys: |
90-
${{ runner.os }}-sccache-v10-
90+
ubuntu-20.04-sccache-v10-
9191
- name: Build Ubuntu 20.04 installable archive
9292
run: |
9393
./utils/webassembly/ci.sh

0 commit comments

Comments
 (0)