Skip to content

Commit

Permalink
ci: add publish-flakehub
Browse files Browse the repository at this point in the history
  • Loading branch information
flexiondotorg committed Jun 26, 2024
1 parent 778fa3f commit 0d9b87f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,22 @@ jobs:
exit 1
fi
gh release edit "${{ github.ref }}" --draft=false
publish-flakehub:
needs: [version-check]
name: "Publish FlakeHub ❄️"
runs-on: "ubuntu-22.04"
permissions:
id-token: "write"
contents: "read"
steps:
- uses: "actions/checkout@v4"
with:
ref: "${{ (inputs.tag != null) && format('refs/tags/{0}', inputs.tag) || '' }}"
- uses: "DeterminateSystems/nix-installer-action@v12"
- uses: "DeterminateSystems/magic-nix-cache-actionv7"
- uses: "DeterminateSystems/flakehub-push@v4"
with:
visibility: "public"
name: "quickemu-project/quickgui"
tag: "${{ inputs.tag }}"

0 comments on commit 0d9b87f

Please sign in to comment.