File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 13
13
type : string
14
14
default : ' []'
15
15
jobs :
16
+ populate_cache :
17
+ name : Check nix build
18
+ uses : ./.github/workflows/call-nix.yml
16
19
check-advisories :
17
20
runs-on : ubuntu-20.04
21
+ needs : populate_cache
18
22
steps :
19
23
- uses : actions/checkout@v3
20
24
with :
33
37
id : fetch-binaries
34
38
if : ${{ !inputs.is-artifact }}
35
39
uses : actions/cache/restore@v3
36
- with :
37
- key : ${{ inputs.fetch-key }}
38
- path : ~/.local/dockerImages
39
- - name : Populate cache on cache miss
40
- if : ${{ !inputs.is-artifact && steps.fetch-binaries.outputs.cache-hit != 'true' }}
41
- uses : ./.github/workflows/call-nix.yml
42
- - name : Fetch cache (second attempt after cache miss)
43
- if : ${{ !inputs.is-artifact && steps.fetch-binaries.outputs.cache-hit != 'true' }}
44
- uses : actions/cache/restore@v3
45
40
with :
46
41
key : ${{ inputs.fetch-key }}
47
42
path : ~/.local/dockerImages
You can’t perform that action at this time.
0 commit comments