on master help sign in
multiple cache keys
e32a752iko
.github/workflows/github-actions-image.yaml+15−3
@@ -31,7 +31,11 @@ jobs:
31 - name: Common setup
31 - name: Common setup
32 uses: ./.github/actions/common_setup
32 uses: ./.github/actions/common_setup
33 with:
33 with:
34+ key: |
34− key: Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
35+ Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
36+ Linux-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-
37+ Linux-${{ hashFiles('**.nix') }}-
38+ Linux-
35
39
36 - name: Build Linux static binary
40 - name: Build Linux static binary
37 shell: bash
41 shell: bash
@@ -95,7 +99,11 @@ jobs:
95 - name: Common setup
99 - name: Common setup
96 uses: ./.github/actions/common_setup
100 uses: ./.github/actions/common_setup
97 with:
101 with:
102+ key: |
98− key: macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
103+ macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
104+ macOS-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-
105+ macOS-${{ hashFiles('**.nix') }}-
106+ macOS-
99
107
100 - name: Build macOS binary bundle
108 - name: Build macOS binary bundle
101 run: |
109 run: |
@@ -132,7 +140,11 @@ jobs:
132 - name: Common setup
140 - name: Common setup
133 uses: ./.github/actions/common_setup
141 uses: ./.github/actions/common_setup
134 with:
142 with:
143+ key: |
135− key: Linux-Windows-${{ hashFiles('**.nix') }}-${{ hashFiles('stack.yaml') }}-${{ hashFiles('**.cabal') }}
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-
136
148
137 - name: Build Windows binary
149 - name: Build Windows binary
138 run: |
150 run: |