From 91f24114ee6e232c76d14cc18457f24459aaca0d Mon Sep 17 00:00:00 2001 From: a-kenji Date: Thu, 17 Mar 2022 17:08:46 +0100 Subject: [PATCH] fix(ci) update-rust-toolchain --- .github/workflows/update-rust-toolchain.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-rust-toolchain.yml b/.github/workflows/update-rust-toolchain.yml index fc415931..6013c446 100644 --- a/.github/workflows/update-rust-toolchain.yml +++ b/.github/workflows/update-rust-toolchain.yml @@ -13,12 +13,13 @@ jobs: - name: Install Nix uses: cachix/install-nix-action@v16 with: + nix_path: nixpkgs=channel:nixos-unstable extra_nix_config: | access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} - - name: install dependencies - run: nix profile install nixpkgs#jq - - name: install dependencies - run: nix profile install nixpkgs#curl + - name: install jq + run: nix-env -i jq -f '' + - name: install curl + run: nix-env -if curl -f '' - name: update rust-toolchain run: assets/scripts/update-toolchain.sh - name: Create Pull Request