From f90136c9a3ce1dc2418e45a31b53c3e805ec25e6 Mon Sep 17 00:00:00 2001 From: Tom Foster Date: Mon, 22 Apr 2024 22:07:36 +0100 Subject: [PATCH] Move artifact files to root --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b4cd94ee..75fbbfb5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,14 @@ jobs: - name: Extract Nix Store Archive 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 uses: actions/checkout@v4