From f36f01d4317928ecf26d844ee79a7c14a5a842d1 Mon Sep 17 00:00:00 2001 From: Zhaofeng Li Date: Sun, 5 Mar 2023 11:05:11 -0700 Subject: [PATCH] .github: Bump DetSys installer --- .github/workflows/book.yml | 10 ++-------- .github/workflows/build.yml | 9 +-------- 2 files changed, 3 insertions(+), 16 deletions(-) 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: |