ci: add publish-flakehub
This commit is contained in:
parent
778fa3f348
commit
0d9b87fb0c
|
@ -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 }}"
|
Loading…
Reference in New Issue