Skip to content
This repository was archived by the owner on Jul 31, 2024. It is now read-only.

Commit 9b658ac

Browse files
author
Dennis Wendland
committed
Cleanup release action
1 parent 47ea727 commit 9b658ac

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

.github/workflows/release-helm.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,21 @@ jobs:
3434
${{ steps.pr.outputs.labels }}
3535
END
3636
)
37-
echo "Outputs"
38-
echo "${{ steps.pr.outputs.title }}"
39-
echo "Run with labels"
40-
echo "$LABELS"
4137
IFS='\n' read -ra LABEL <<< "$LABELS"
4238
for i in "${LABEL[@]}"; do
4339
echo $i
4440
case $i in
4541
# Will just use the first occurence
4642
'major'|'minor'|'patch')
47-
echo "::set-output name=release-label::$i"
43+
echo "RELEASE_LABEL=$i" >> $GITHUB_OUTPUT
4844
break
4945
esac
5046
done
5147
5248
- uses: zwaldowski/semver-release-action@v2
5349
with:
5450
dry_run: true
55-
bump: ${{ steps.match-label-bash.outputs.release-label }}
51+
bump: ${{ steps.match-label-bash.outputs.RELEASE_LABEL }}
5652
github_token: ${{ secrets.GITHUB_TOKEN }}
5753

5854
- name: Set version output

0 commit comments

Comments
 (0)