Update update-cache.yml

This commit is contained in:
Igor Pečovnik
2022-09-02 20:52:16 +02:00
committed by GitHub
parent f136383c03
commit 452347cc61

View File

@@ -277,9 +277,10 @@ jobs:
if: ${{ github.repository_owner == 'Armbian' }}
run: |
sudo chown -R 1008.1002 build/cache/rootfs.upload/.
sudo mkdir -p build/cache/rootfs.upload/${{ needs.Prepare.outputs.rootfscache_version }}
sudo chown -R 1008.1002 build/cache/rootfs.upload/${{ needs.Prepare.outputs.rootfscache_version }}/.
# Do it twice, then you may fail
sudo rsync -ahv --no-o --no-g --no-perms --delete --progress build/cache/rootfs/* build/cache/rootfs.upload/${{ needs.Prepare.outputs.rootfscache_version }} || true
sudo rsync -ahv --no-o --no-g --no-perms --delete --progress build/cache/rootfs/* build/cache/rootfs.upload/${{ needs.Prepare.outputs.rootfscache_version }} || true
sudo rsync -ahv --no-o --no-g --no-perms --delete --progress build/cache/rootfs/* build/cache/rootfs.upload/${{ needs.Prepare.outputs.rootfscache_version }}
- name: Unmount folders