Skip to content

Commit

Permalink
ci: fix flakestry publish
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Feb 23, 2024
1 parent 26ecf3e commit 5b00752
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/flakestry-publish.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
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
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: flakestry/flakestry-publish@main
with:
version: "${{ inputs.tag || github.ref_name }}"
ignoreConflicts: false
publish-flake:
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: tsirysndr/flakestry-publish@main
with:
version: "${{ inputs.tag || github.ref_name }}"

0 comments on commit 5b00752

Please sign in to comment.