Skip to content

Commit a9c1026

Browse files
committed
Ubuntu 18.04 and 20.04 should use separate cache keys
1 parent 1909ef8 commit a9c1026

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
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-5.3-${{ steps.cache_timestamp.outputs.timestamp }}
42+
key: ubuntu-18.04-sccache-v10-5.3-${{ steps.cache_timestamp.outputs.timestamp }}
4343
restore-keys: |
44-
${{ runner.os }}-sccache-v10-5.3-
44+
ubuntu-18.04-sccache-v10-5.3-
4545
- name: Build Ubuntu 18.04 installable archive
4646
run: |
4747
./utils/webassembly/ci.sh
@@ -87,9 +87,9 @@ jobs:
8787
- uses: actions/cache@v1
8888
with:
8989
path: ../build-cache
90-
key: ${{ runner.os }}-sccache-v10-5.3-${{ steps.cache_timestamp.outputs.timestamp }}
90+
key: ubuntu-20.04-sccache-v10-5.3-${{ steps.cache_timestamp.outputs.timestamp }}
9191
restore-keys: |
92-
${{ runner.os }}-sccache-v10-5.3-
92+
ubuntu-20.04-sccache-v10-5.3-
9393
- name: Build Ubuntu 20.04 installable archive
9494
run: |
9595
./utils/webassembly/ci.sh

0 commit comments

Comments
 (0)