Merge pull request #1 from JeremiahSecrist/main

Added build checks to package and publish to flakehub
This commit is contained in:
Steven Carpenter 2024-06-02 05:00:06 -04:00 committed by GitHub
commit 164e5ba30d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
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@v3"
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v4
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build default package
run: nix build
- uses: "DeterminateSystems/flakehub-push@main"
with:
name: "specCon18/YUNODO"
rolling: true
visibility: "public"