blob: a04230b02ab5e799a450b25791502248bc28a8fe (
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 }}
|