update-scripts: move out of flake

See the explanation in the new update-scripts/README.md file.
This commit is contained in:
Matt Sturgeon 2024-08-03 18:31:40 +01:00
parent 96d0a2e390
commit d3cb750e6a
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
10 changed files with 146 additions and 88 deletions

View file

@ -64,11 +64,12 @@ jobs:
echo "EOF" >> "$GITHUB_OUTPUT"
fi
- name: Update autogenerated files
- name: Update generated files
id: generate
run: |
old=$(git show --no-patch --format=%h)
nix run .#generate-files -- --commit
nix-build ./update-scripts -A generate
./result/bin/generate --commit
new=$(git show --no-patch --format=%h)
if [ "$old" != "$new" ]; then
body=$(git show --no-patch --format=%b)