Update .forgejo/workflows/update_input.yaml

This commit is contained in:
silver 2024-08-07 01:58:58 +00:00
parent 1fcdc400b5
commit 057b609a29

View file

@ -1,5 +1,4 @@
on: on:
workflow_dispatch: workflow_dispatch:
inputs: inputs:
@ -19,19 +18,22 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
#trusted-public-keys = skynet-cache:zMFLzcRZPhUpjXUy8SF8Cf7KGAZwo98SKrzeXvdWABo= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
#substituters = https://nix-cache.skynet.ie/skynet-cache https://cache.nixos.org/
- run: nix flake lock --update-input "${{ inputs.input_to_update }}" - run: nix flake lock --update-input "${{ inputs.input_to_update }}"
shell: bash shell: bash
- run: | - run: |
attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY attic login skynet https://nix-cache.skynet.ie/ $CACHE_KEY
attic use skynet-cache attic use skynet-cache
nix develop --accept-flake-config nix develop
colmena build -v --on @active-dns colmena build -v --on @active-dns
colmena build -v --on @active-core colmena build -v --on @active-core
colmena build -v --on @active colmena build -v --on @active
colmena build -v --on @active-ext colmena build -v --on @active-ext
colmena build -v --on @active-gitlab 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 --ignore-upstream-cache-filter $(which attic)
attic push skynet-cache $(ls -d /nix/store/*/) attic push skynet-cache $(ls -d /nix/store/*/)
shell: bash shell: bash
#- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5 #- uses: https://github.com/stefanzweifel/git-auto-commit-action@v5