From ee42334e725bbcee41f907196ff2adabcfd29687 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Mon, 26 Jun 2023 09:37:36 +0800 Subject: [PATCH] chore: macos-latest SIP error https://github.com/cachix/install-nix-action/issues/183 --- .github/workflows/bisect.yml | 4 ++-- .github/workflows/build.yml | 2 +- .github/workflows/update.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bisect.yml b/.github/workflows/bisect.yml index bedb6ccdf..53314c91b 100644 --- a/.github/workflows/bisect.yml +++ b/.github/workflows/bisect.yml @@ -23,7 +23,7 @@ jobs: path: nixpkgs - name: Cleanup disk uses: curoky/cleanup-disk-action@v2.0 - - uses: cachix/install-nix-action@v20 + - uses: cachix/install-nix-action@v22 with: extra_nix_config: | experimental-features = nix-command flakes @@ -56,7 +56,7 @@ jobs: path: nixpkgs - name: Cleanup disk uses: curoky/cleanup-disk-action@v2.0 - - uses: cachix/install-nix-action@v20 + - uses: cachix/install-nix-action@v22 with: install_url: https://github.com/numtide/nix-flakes-installer/releases/download/nix-2.4pre20201221_9fab14a/install extra_nix_config: | diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6dab33c93..b2eeeff1d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -25,7 +25,7 @@ jobs: with: # Shallow clones won't work fetch-depth: 0 - - uses: cachix/install-nix-action@v20 + - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} extra_nix_config: | diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 4fbab59b3..7feec0485 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -19,7 +19,7 @@ jobs: with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token fetch-depth: 0 # otherwise, you will failed to push refs to dest repo - - uses: cachix/install-nix-action@v20 + - uses: cachix/install-nix-action@v22 with: github_access_token: ${{ secrets.GITHUB_TOKEN }} extra_nix_config: |