Update .forgejo/workflows/update_input.yaml
This commit is contained in:
parent
3cfd0a98aa
commit
61598df6c7
1 changed files with 11 additions and 13 deletions
|
@ -8,7 +8,7 @@ on:
|
|||
|
||||
jobs:
|
||||
update:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: nix
|
||||
|
||||
permissions:
|
||||
# Give the default GITHUB_TOKEN write permission to commit and push the
|
||||
|
@ -17,27 +17,25 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Install sudo package
|
||||
run: apt update && apt install sudo
|
||||
- uses: https://github.com/cachix/install-nix-action@v27
|
||||
with:
|
||||
#nix_path: nixpkgs=channel:nixos-unstable
|
||||
extra_nix_config: |
|
||||
trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||
substituters = https://nix-cache.skynet.ie https://cache.nixos.org/
|
||||
#- name: Install sudo package
|
||||
# run: apt update && apt install sudo
|
||||
#- uses: https://github.com/cachix/install-nix-action@v27
|
||||
# with:
|
||||
# #nix_path: nixpkgs=channel:nixos-unstable
|
||||
# extra_nix_config: |
|
||||
# trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
|
||||
# substituters = https://nix-cache.skynet.ie https://cache.nixos.org/
|
||||
- run: nix flake lock --update-input "${{ inputs.input_to_update }}"
|
||||
shell: bash
|
||||
- run: |
|
||||
attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
|
||||
attic use skynet-cache
|
||||
nix develop
|
||||
colmena build -v --on @active-dns
|
||||
colmena build -v --on @active-core
|
||||
colmena build -v --on @active
|
||||
colmena build -v --on @active-ext
|
||||
colmena build -v --on @active-gitlab
|
||||
shell: bash
|
||||
- run: |
|
||||
attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
|
||||
attic use skynet-cache
|
||||
attic push skynet-cache $(ls -d /nix/store/*/)
|
||||
shell: bash
|
||||
#- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5
|
Loading…
Reference in a new issue