on master help sign in
multiple cache keys
commite32a752945138db7be7e5b5312e5af968807630d authoriko <ilyakooo0@gmail.com> dateTue 21 Dec 2021, 16:58 (5 years ago) parent1383c87
1 file changed+15−3
.github/workflows/github-actions-image.yaml+15−3
.github/workflows/github-actions-image.yaml+15−3
@@ -31,7 +31,11 @@ jobs:
3131 - name: Common setup
3232 uses: ./.github/actions/common_setup
3333 with:
34− key: Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
34+ key: |
35+ Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
36+ Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-
37+ Linux-${{ hashFiles('**.nix') }}-
38+ Linux-
3539
3640 - name: Build Linux static binary
3741 shell: bash
@@ -95,7 +99,11 @@ jobs:
9599 - name: Common setup
96100 uses: ./.github/actions/common_setup
97101 with:
98− key: macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
102+ key: |
103+ macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
104+ macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-
105+ macOS-${{ hashFiles('**.nix') }}-
106+ macOS-
99107
100108 - name: Build macOS binary bundle
101109 run: |
@@ -132,7 +140,11 @@ jobs:
132140 - name: Common setup
133141 uses: ./.github/actions/common_setup
134142 with:
135− key: Linux-Windows-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
143+ key: |
144+ Linux-Windows-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
145+ Linux-Windows-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-
146+ Linux-Windows-${{ hashFiles('**.nix') }}-
147+ Linux-Windows-
136148
137149 - name: Build Windows binary
138150 run: |