Skip to content

Merge pull request #38 from fluentci-io/feat/tui #32

Merge pull request #38 from fluentci-io/feat/tui

Merge pull request #38 from fluentci-io/feat/tui #32

name: "Publish a flake to flakestry"
on:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+"
- "v?[0-9]+.[0-9]+"
workflow_dispatch:
inputs:
tag:
description: "The existing tag to publish"
type: "string"
required: true
jobs:
publish-flake:
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: actions/checkout@v3
- name: Setup Fluent CI
uses: fluentci-io/setup-fluentci@v5
with:
wasm: true
engine-version: 0.4.0
pipeline: flakestry
args: publish
env:
VERSION: ${{ inputs.tag || github.ref_name }}
GH_TOKEN: ${{ github.token }}
ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN }}
ACTIONS_ID_TOKEN_REQUEST_URL: ${{ env.ACTIONS_ID_TOKEN_REQUEST_URL }}
REF: ${{ github.sha }}