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/workflows/update-rust-toolchain.yml | |
| parent | fix(ci): update-toolchain (diff) | |
| download | sl0ppij-91f24114ee6e232c76d14cc18457f24459aaca0d.tar.gz sl0ppij-91f24114ee6e232c76d14cc18457f24459aaca0d.tar.xz sl0ppij-91f24114ee6e232c76d14cc18457f24459aaca0d.zip | |
fix(ci) update-rust-toolchain
Diffstat (limited to '.github/workflows/update-rust-toolchain.yml')
| -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 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 '<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 |
