File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ runs:
40
40
key : cloudflared-${{ steps.version-unix-like.outputs.version || steps.version-windows.outputs.version }}-${{ runner.os }}
41
41
42
42
- 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')
44
44
shell : bash
45
45
working-directory : ${{ runner.temp }}
46
46
run : $GITHUB_ACTION_PATH/scripts/download/Unix-like.sh
47
47
env :
48
48
version : ${{ steps.version-unix-like.outputs.version }}
49
49
50
50
- 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')
52
52
shell : pwsh
53
53
working-directory : ${{ runner.temp }}
54
54
run : ' & $env:GITHUB_ACTION_PATH\scripts\download\Windows.ps1'
62
62
cache_hit : ${{ steps.cache.outputs.cache-hit }}
63
63
64
64
- name : Save cloudflared cache
65
- if : ' ! steps.cache.outputs.cache-hit'
65
+ if : " ! steps.cache.outputs.cache-hit || steps.cache.outputs.cache-hit == 'false' "
66
66
uses : actions/cache/save@v4
67
67
with :
68
68
path : ${{ runner.tool_cache }}/cloudflared
You can’t perform that action at this time.
0 commit comments