Skip to content

improve release workflow #1

improve release workflow

improve release workflow #1

Workflow file for this run

name: Release
on:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+*"
workflow_dispatch:
inputs:
tag:
description: "The existing tag to publish to FlakeHub"
type: "string"
required: true
jobs:
release:
name: Release
runs-on: ubuntu-22.04
permissions:
id-token: write
contents: write
steps:
- uses: DeterminateSystems/nix-installer-action@v4
- uses: actions/checkout@v3
- name: Create Github Release 📦
uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
- name: Push to FlakeHub ❄️
uses: determinatesystems/flakehub-push@main
with:
visibility: "public"
tag: "${{ inputs.tag }}"