From 9b658ac0d06c45349ee42b45f71a6948917b301b Mon Sep 17 00:00:00 2001 From: Dennis Wendland Date: Fri, 5 Jul 2024 13:34:42 +0200 Subject: [PATCH] Cleanup release action --- .github/workflows/release-helm.yaml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-helm.yaml b/.github/workflows/release-helm.yaml index b7d85b8..f2963a6 100644 --- a/.github/workflows/release-helm.yaml +++ b/.github/workflows/release-helm.yaml @@ -34,17 +34,13 @@ jobs: ${{ steps.pr.outputs.labels }} END ) - echo "Outputs" - echo "${{ steps.pr.outputs.title }}" - echo "Run with labels" - echo "$LABELS" IFS='\n' read -ra LABEL <<< "$LABELS" for i in "${LABEL[@]}"; do echo $i case $i in # Will just use the first occurence 'major'|'minor'|'patch') - echo "::set-output name=release-label::$i" + echo "RELEASE_LABEL=$i" >> $GITHUB_OUTPUT break esac done @@ -52,7 +48,7 @@ jobs: - uses: zwaldowski/semver-release-action@v2 with: dry_run: true - bump: ${{ steps.match-label-bash.outputs.release-label }} + bump: ${{ steps.match-label-bash.outputs.RELEASE_LABEL }} github_token: ${{ secrets.GITHUB_TOKEN }} - name: Set version output