Move artifact files to root

This commit is contained in:
Tom Foster 2024-04-22 22:07:36 +01:00 committed by GitHub
parent a969163f79
commit f90136c9a3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -99,7 +99,14 @@ jobs:
- name: Extract Nix Store Archive - name: Extract Nix Store Archive
run: | run: |
tar -xzf nix-store.tar.gz -C / mkdir -p ${{ github.workspace }}/nix-store
tar -xzf nix-store.tar.gz -C ${{ github.workspace }}/nix-store
- name: Move Nix Store to Proper Location
run: |
sudo rsync -a ${{ github.workspace }}/nix-store/ /nix/store/
sudo chown -R root:root /nix/store
sudo restorecon -Rv /nix/store # If SELinux is enforcing
- name: Sync repository - name: Sync repository
uses: actions/checkout@v4 uses: actions/checkout@v4