Skip to content

Commit b821957

Browse files
author
Bastian Schwarz
committed
apparenty it's just inputs now and just act didn't pick that up?
1 parent 5c5540b commit b821957

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/updateReleaseVersions.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
- name: Parse version
2525
id: parse
2626
run: |
27-
echo "major=$(echo ${{ github.event.inputs.version }} | cut -d '.' -f 1)" >> $GITHUB_OUTPUT
28-
echo "minor=$(echo ${{ github.event.inputs.version }} | cut -d '.' -f 2)" >> $GITHUB_OUTPUT
29-
echo "patch=$(echo ${{ github.event.inputs.version }} | cut -d '.' -f 3)" >> $GITHUB_OUTPUT
27+
echo "major=$(echo ${{ inputs.version }} | cut -d '.' -f 1)" >> $GITHUB_OUTPUT
28+
echo "minor=$(echo ${{ inputs.version }} | cut -d '.' -f 2)" >> $GITHUB_OUTPUT
29+
echo "patch=$(echo ${{ inputs.version }} | cut -d '.' -f 3)" >> $GITHUB_OUTPUT
3030
3131
- uses: actions/checkout@v3
3232
with:
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
MAJOR="${{ steps.parse.outputs.major }}"
3838
MINOR="${{ steps.parse.outputs.major }}.${{ steps.parse.outputs.major }}"
39-
TARGET="${{ github.event.inputs.release_ref }}"
39+
TARGET="${{ inputs.release_ref }}"
4040
git tag -f $MAJOR $TARGET
4141
git tag -f $MINOR $TARGET
4242
git push origin $MAJOR $MINOR --force

0 commit comments

Comments
 (0)