Don't fail if flakehub cache wasn't requested and its requirements we… #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
- uses: "DeterminateSystems/nix-installer-action@main" | |
- uses: "DeterminateSystems/flakehub-push@main" | |
with: | |
name: "DeterminateSystems/magic-nix-cache" | |
rolling: true | |
visibility: "public" |