forked from puppetlabs/puppetlabs-puppetdb
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (33 loc) · 945 Bytes
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
name: "Publish module"
run-name: >
${{ format('tag={0}', inputs.tag) }}
${{ format('release={0}', inputs.release) }}
${{ format('publish={0}', inputs.publish) }}
${{ format('edit={0}', inputs.edit) }}
on:
workflow_dispatch:
inputs:
tag:
description: "Enter an old tag, or blank to tag HEAD of branch"
type: string
release:
description: "Create a Github release"
type: boolean
default: true
publish:
description: "Publish to the Forge"
type: boolean
default: true
edit:
description: "Re-tag and regenerate release notes"
type: boolean
default: false
jobs:
release:
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
secrets: "inherit"
with:
tag: ${{ inputs.tag }}
release: ${{ inputs.release }}
publish: ${{ inputs.publish }}
edit: ${{ inputs.edit }}