Skip to content

Commit 4fa106a

Browse files
authored
Merge pull request #58 from mhashizume/maint/main/release-fix
(maint) Corrects auto release workflow
2 parents 61691e9 + 1bc5639 commit 4fa106a

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/auto_release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,14 @@ name: "Auto release"
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: "Module version to be released. Must be a valid semver string. (1.2.3)"
8+
required: true
59

610
jobs:
711
release_prep:
812
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release_prep.yml@main"
13+
with:
14+
version: "${{ github.event.inputs.version }}"
915
secrets: "inherit"

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,8 @@ name: "Publish module"
22

33
on:
44
workflow_dispatch:
5-
inputs:
6-
version:
7-
description: "Module version to be released. Must be a valid semver string. (1.2.3)"
8-
required: true
95

106
jobs:
117
release:
128
uses: "puppetlabs/cat-github-actions/.github/workflows/module_release.yml@main"
13-
with:
14-
version: "${{ github.event.inputs.version }}"
159
secrets: "inherit"

0 commit comments

Comments
 (0)