diff options
author | a-kenji <aks.kenji@protonmail.com> | 2022-03-17 17:08:46 +0100 |
---|---|---|
committer | a-kenji <aks.kenji@protonmail.com> | 2022-03-17 17:08:46 +0100 |
commit | 91f24114ee6e232c76d14cc18457f24459aaca0d (patch) | |
tree | 8e26b5cf1878c50a73f1533abcea8bd630addffe /.github | |
parent | 1612bec8baf7dfad577b93ec2a64a26dcae26f56 (diff) |
fix(ci) update-rust-toolchain
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/update-rust-toolchain.yml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.github/workflows/update-rust-toolchain.yml b/.github/workflows/update-rust-toolchain.yml index fc415931f..6013c4469 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 '<nixpkgs>' + - name: install curl + run: nix-env -if curl -f '<nixgpks>' - name: update rust-toolchain run: assets/scripts/update-toolchain.sh - name: Create Pull Request |