pull/36071/head
workinright 2 days ago
parent 99df8f5872
commit 6fb3d6941f
  1. 10
      .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

Loading…
Cancel
Save