Skip to content

Commit 910fce8

Browse files
[ci] fix output value type mismatch for actions/cache/restore@v3
also fix chmod option position for darwin
1 parent 03a7fb5 commit 910fce8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,8 +147,8 @@ jobs:
147147
${{ github.workspace }}/host-toolchain-sdk \
148148
${{ github.workspace }}/dist-toolchain-sdk
149149
150-
- run: chmod 777 -R ./build-cache
151-
if: ${{ steps.build-cache.outputs.cache-hit == 'true' }}
150+
- run: chmod -R 777 ./build-cache
151+
if: ${{ steps.build-cache.outputs.cache-hit }}
152152
- name: Build ${{ matrix.target }} installable archive on Docker container
153153
if: ${{ matrix.container != null }}
154154
timeout-minutes: 300 # Exit before 6 hours limit to allow cache upload

0 commit comments

Comments
 (0)