Skip to content

Commit a7693dc

Browse files
committed
ci: cache 2
1 parent f3b72a1 commit a7693dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- clang-cl
2828
steps:
2929
- name: checkout
30-
uses: actions/checkout@v4
30+
uses: actions/checkout@v6
3131
with:
3232
submodules: recursive
3333

@@ -37,9 +37,9 @@ jobs:
3737
xmake-version: "latest"
3838
actions-cache-folder: ".xmake-cache"
3939
build-cache: true
40-
build-cache-key: ${{ matrix.toolchain }}
40+
build-cache-key: ${{ matrix.mode }}-${{ matrix.toolchain }}
4141
package-cache: true
42-
package-cache-key: ${{ matrix.toolchain }}
42+
package-cache-key: ${{ matrix.mode }}-${{ matrix.toolchain }}
4343

4444
- name: config
4545
run: xmake config -y --mode=${{ matrix.mode }} --toolchain=${{ matrix.toolchain }}

0 commit comments

Comments
 (0)