
The breaking change seems to be something about the default Node.js runtime: https://github.com/actions/checkout/blob/main/CHANGELOG.md#v400 Also in example in documentation, for the sake of the copy-pasting user (me).
22 lines
497 B
YAML
22 lines
497 B
YAML
name: "Publish every Git push to main to FlakeHub"
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
|
|
jobs:
|
|
flakehub-publish:
|
|
runs-on: "ubuntu-latest"
|
|
permissions:
|
|
id-token: "write"
|
|
contents: "read"
|
|
steps:
|
|
- uses: "actions/checkout@v4"
|
|
- uses: "DeterminateSystems/nix-installer-action@main"
|
|
- uses: "DeterminateSystems/flakehub-push@main"
|
|
with:
|
|
name: "DeterminateSystems/magic-nix-cache"
|
|
rolling: true
|
|
visibility: "public"
|