@@ -101,7 +101,7 @@ jobs:
101101 container :
102102 image : ghcr.io/static-php/packages-builder-rhel-${{ matrix.alma }}:latest
103103 permissions :
104- contents : read
104+ contents : write
105105 packages : read
106106 defaults :
107107 run :
@@ -138,9 +138,9 @@ jobs:
138138
139139 - name : Restore buildroot cache
140140 id : cache
141- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
141+ uses : ./.github/ actions/buildroot- cache
142142 with :
143- path : buildroot.tar.zst
143+ mode : restore
144144 key : ${{ steps.cache-key.outputs.key }}
145145
146146 - name : Download artifact from spc-download.yml
@@ -184,9 +184,9 @@ jobs:
184184
185185 - name : Save buildroot cache
186186 if : steps.cache.outputs.cache-hit != 'true'
187- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
187+ uses : ./.github/ actions/buildroot- cache
188188 with :
189- path : buildroot.tar.zst
189+ mode : save
190190 key : ${{ steps.cache-key.outputs.key }}
191191
192192 - name : Upload buildroot
@@ -233,7 +233,7 @@ jobs:
233233 container :
234234 image : ghcr.io/static-php/packages-builder-rhel-${{ matrix.alma }}:latest
235235 permissions :
236- contents : read
236+ contents : write
237237 packages : read
238238 defaults :
239239 run :
@@ -270,9 +270,9 @@ jobs:
270270
271271 - name : Restore buildroot cache
272272 id : cache
273- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
273+ uses : ./.github/ actions/buildroot- cache
274274 with :
275- path : buildroot.tar.zst
275+ mode : restore
276276 key : ${{ steps.cache-key.outputs.key }}
277277
278278 - name : Download artifact from spc-download.yml
@@ -316,9 +316,9 @@ jobs:
316316
317317 - name : Save buildroot cache
318318 if : steps.cache.outputs.cache-hit != 'true'
319- uses : actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
319+ uses : ./.github/ actions/buildroot- cache
320320 with :
321- path : buildroot.tar.zst
321+ mode : save
322322 key : ${{ steps.cache-key.outputs.key }}
323323
324324 - name : Upload buildroot
@@ -541,12 +541,10 @@ jobs:
541541 echo "key=buildroot-rpm-alma${{ matrix.alma }}-${{ matrix.arch }}-gcc-${WEEK}" >> $GITHUB_OUTPUT
542542
543543 - name : Restore buildroot cache
544- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
544+ uses : ./.github/ actions/buildroot- cache
545545 with :
546- path : buildroot.tar.zst
546+ mode : restore
547547 key : ${{ steps.cache-key.outputs.key }}
548- restore-keys : |
549- buildroot-rpm-alma${{ matrix.alma }}-${{ matrix.arch }}-gcc-
550548 fail-on-cache-miss : true
551549
552550 - name : Extract buildroot
@@ -732,12 +730,10 @@ jobs:
732730 echo "key=buildroot-rpm-alma${{ matrix.alma }}-${{ matrix.arch }}-zig-${WEEK}" >> $GITHUB_OUTPUT
733731
734732 - name : Restore buildroot cache
735- uses : actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
733+ uses : ./.github/ actions/buildroot- cache
736734 with :
737- path : buildroot.tar.zst
735+ mode : restore
738736 key : ${{ steps.cache-key.outputs.key }}
739- restore-keys : |
740- buildroot-rpm-alma${{ matrix.alma }}-${{ matrix.arch }}-zig-
741737 fail-on-cache-miss : true
742738
743739 - name : Extract buildroot
0 commit comments