fix(ci) update-rust-toolchain
This commit is contained in:
parent
1612bec8ba
commit
91f24114ee
1 changed files with 5 additions and 4 deletions
9
.github/workflows/update-rust-toolchain.yml
vendored
9
.github/workflows/update-rust-toolchain.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue