diff --git a/.gitea/workflows/push.yaml b/.gitea/workflows/push.yaml index a891280..ed6365a 100644 --- a/.gitea/workflows/push.yaml +++ b/.gitea/workflows/push.yaml @@ -79,9 +79,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 - - name: Create User - run: useradd -m -s /bin/bash -u 1000 user - - name: Install Nix - run: bash <(curl -L https://nixos.org/nix/install) --daemon - - name: Change User, Run Nix Build - run: su user -c "nix build --experimental-features 'nix-command flakes' .#default" + - name: Set up Nix + uses: cachix/install-nix-action@v27 + - name: Build project with Nix + run: nix build --option sandbox false ----experimental-features 'nix-command flakes' .#default