13 lines
545 B
YAML
13 lines
545 B
YAML
name: "Update Flake Packages ❄️"
|
|
on:
|
|
workflow_dispatch:
|
|
jobs:
|
|
updateFlakePackages:
|
|
runs-on: native
|
|
steps:
|
|
- run: git clone -q -b $FORGEJO_REF_NAME https://forgejo:$GITHUB_TOKEN@git.antoinevaure.fr/$GITHUB_REPOSITORY .
|
|
- run: git checkout -b update-nix-inputs
|
|
- run: nix flake update
|
|
- run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')" --author="Update flake worklow <dummy@domain.xyz>"
|
|
- run: nix build .#build-all
|
|
- run: git push --force --set-upstream origin update-nix-inputs
|