diff --git a/.github/workflows/book.yml b/.github/workflows/book.yml index 758a758..0d191fd 100644 --- a/.github/workflows/book.yml +++ b/.github/workflows/book.yml @@ -18,14 +18,8 @@ jobs: steps: - uses: actions/checkout@v3.0.2 - - name: Obtain current username - run: | - echo ACTION_USER=$USER >> $GITHUB_ENV - - - uses: DeterminateSystems/nix-installer-action@2ec668c45628a4029e59357600d6b73107b0843b - with: - extra-conf: | - trusted-users = root ${{ env.ACTION_USER }} + - uses: DeterminateSystems/nix-installer-action@v1 + continue-on-error: true # Self-hosted runners already have Nix installed - name: Install Attic run: ./.github/install-attic-ci.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a6dfa72..d654611 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,15 +13,8 @@ jobs: steps: - uses: actions/checkout@v3.3.0 - - name: Obtain current username - run: | - echo ACTION_USER=$USER >> $GITHUB_ENV - - - uses: DeterminateSystems/nix-installer-action@2ec668c45628a4029e59357600d6b73107b0843b + - uses: DeterminateSystems/nix-installer-action@v1 continue-on-error: true # Self-hosted runners already have Nix installed - with: - extra-conf: | - trusted-users = root ${{ env.ACTION_USER }} - name: Install Attic run: |