pull/36071/head
workinright 3 days ago
parent 99df8f5872
commit 6fb3d6941f
  1. 10
      .github/workflows/setup/action.yaml

@ -47,17 +47,19 @@ runs:
# restore rootfs image cache # restore rootfs image cache
- id: rootfs-cache - id: rootfs-cache
uses: actions/cache/restore@v4 uses: actions/download-artifact@v4
with: with:
path: /tmp/rootfs_cache.tar 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 # build our rootfs image
- shell: bash - shell: bash
run: eval ${{ env.BUILD }} run: eval ${{ env.BUILD }}
# try to save rootfs image cache # try to save rootfs image cache
- name: Save rootfs cache - name: Save rootfs cache
uses: actions/cache/save@v4 uses: actions/upload-artifact@v4
#if: github.ref == 'refs/heads/master' #if: github.ref == 'refs/heads/master'
with: with:
path: /tmp/rootfs_cache.tar 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

Loading…
Cancel
Save