add workflow to update flake inputs
Some checks failed
/ build-all (push) Has been cancelled

This commit is contained in:
Antoine Vaure 2025-09-22 16:31:11 +02:00 committed by ant
parent c0d5c30418
commit 178bf39c1d

View file

@ -0,0 +1,17 @@
name: "Update Flake Packages ❄️"
on:
workflow_dispatch:
jobs:
updateFlakePackages:
runs-on: native
steps:
- run: git clone -q https://forgejo:$GITHUB_TOKEN@git.antoinevaure.fr/$GITHUB_REPOSITORY $GITHUB_REPOSITORY
- run: pwd
- run: echo ${{join([FORGEJO_WORKSPACE, env.$GITHUB_REPOSITORY], '/')}}
- run: pwd
working-directory: ${{join([FORGEJO_WORKSPACE, env.$GITHUB_REPOSITORY], '/')}}
- run: git checkout $GITHUB_REF
working-directory: ${{ env.$GITHUB_REPOSITORY }}
- name: Update flake packages
working-directory: ${{ env.$GITHUB_REPOSITORY }}
uses: https://github.com/selfuryon/nix-update-action@v1.1.0