File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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'
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
You can’t perform that action at this time.
0 commit comments