Skip to content

Commit b80ad7a

Browse files
committed
fix: Temporarily fix GitHub Actions type system fail
1 parent 3826b8b commit b80ad7a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@ runs:
4040
key: cloudflared-${{ steps.version-unix-like.outputs.version || steps.version-windows.outputs.version }}-${{ runner.os }}
4141

4242
- name: Download cloudflared for Unix-like
43-
if: (runner.os == 'Linux' || runner.os == 'macOS') && ! steps.cache.outputs.cache-hit
43+
if: (runner.os == 'Linux' || runner.os == 'macOS') && (! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false')
4444
shell: bash
4545
working-directory: ${{ runner.temp }}
4646
run: $GITHUB_ACTION_PATH/scripts/download/Unix-like.sh
4747
env:
4848
version: ${{ steps.version-unix-like.outputs.version }}
4949

5050
- name: Download cloudflared for Windows
51-
if: runner.os == 'Windows' && ! steps.cache.outputs.cache-hit
51+
if: runner.os == 'Windows' && (! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false')
5252
shell: pwsh
5353
working-directory: ${{ runner.temp }}
5454
run: '& $env:GITHUB_ACTION_PATH\scripts\download\Windows.ps1'
@@ -62,7 +62,7 @@ runs:
6262
cache_hit: ${{ steps.cache.outputs.cache-hit }}
6363

6464
- name: Save cloudflared cache
65-
if: '! steps.cache.outputs.cache-hit'
65+
if: "! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false'"
6666
uses: actions/cache/save@v4
6767
with:
6868
path: ${{ runner.tool_cache }}/cloudflared

0 commit comments

Comments
 (0)