summaryrefslogtreecommitdiff
path: root/.github/workflows/publish.yaml
blob: 9ce902d2bccd1de0007b5f79b27ee4eb47be0082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: Publish

on:
  #release:
  #  types: [ released ]
  workflow_dispatch:
    inputs:
      tag_name:
        description: "Existing tag to publish"
        required: true

jobs:
  publish:
    name: Publish action

    runs-on: ubuntu-latest

    permissions:
      contents: write

    steps:
      - uses: actions/publish-action@f784495ce78a41bac4ed7e34a73f0034015764bb # v0.3.0
        with:
          source-tag: ${{ inputs.tag_name || github.event.release.tag_name }}