mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-23 12:15:26 +02:00
github-actions/update: fix nix installation
This commit is contained in:
parent
eb84003a09
commit
369254237a
1 changed files with 8 additions and 1 deletions
9
.github/workflows/update.yml
vendored
9
.github/workflows/update.yml
vendored
|
@ -6,6 +6,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lockfile:
|
lockfile:
|
||||||
|
name: Update the flake inputs and generate options
|
||||||
runs-on: nscloud-ubuntu-22.04-amd64-4x16
|
runs-on: nscloud-ubuntu-22.04-amd64-4x16
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
steps:
|
steps:
|
||||||
|
@ -13,14 +14,20 @@ jobs:
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
|
||||||
- name: Install Nix
|
- name: Install Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@v1
|
uses: cachix/install-nix-action@v20
|
||||||
|
with:
|
||||||
|
nix_path: nixpkgs=channel:nixos-unstable
|
||||||
|
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Update flake.lock
|
- name: Update flake.lock
|
||||||
id: update
|
id: update
|
||||||
uses: DeterminateSystems/update-flake-lock@v20
|
uses: DeterminateSystems/update-flake-lock@v20
|
||||||
with:
|
with:
|
||||||
pr-title: "Update flake.lock"
|
pr-title: "Update flake.lock"
|
||||||
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
token: ${{ secrets.GH_TOKEN_FOR_UPDATES }}
|
||||||
|
|
||||||
- name: Update autogenerated configs
|
- name: Update autogenerated configs
|
||||||
run: |
|
run: |
|
||||||
git checkout update_flake_lock_action
|
git checkout update_flake_lock_action
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue