diff --git a/.github/workflows/setup/action.yaml b/.github/workflows/setup/action.yaml index 1711dfefdd..fa925c7f85 100644 --- a/.github/workflows/setup/action.yaml +++ b/.github/workflows/setup/action.yaml @@ -47,17 +47,19 @@ runs: # restore rootfs image cache - id: rootfs-cache - uses: actions/cache/restore@v4 + uses: actions/download-artifact@v4 with: path: /tmp/rootfs_cache.tar - key: rootfs-${{ runner.arch }}-${{ env.CACHE_FILE_HASHES }} + name: rootfs-${{ runner.arch }}-${{ env.CACHE_FILE_HASHES }} + continue-on-error: true # build our rootfs image - shell: bash run: eval ${{ env.BUILD }} # try to save rootfs image cache - name: Save rootfs cache - uses: actions/cache/save@v4 + uses: actions/upload-artifact@v4 #if: github.ref == 'refs/heads/master' with: path: /tmp/rootfs_cache.tar - key: rootfs-${{ runner.arch }}-${{ env.CACHE_FILE_HASHES }} + name: rootfs-${{ runner.arch }}-${{ env.CACHE_FILE_HASHES }} + continue-on-error: true