Improve GHA notices

This commit is contained in:
Artem Bilan
2023-11-16 10:36:50 -05:00
parent 809f20da79
commit 5e15f25cce
4 changed files with 5 additions and 20 deletions

View File

@@ -1,16 +0,0 @@
name: Finalize Release
on:
workflow_dispatch:
inputs:
milestone:
description: 'Milestone title like 3.0.0-M1, 3.1.0-RC1, 3.2.0 etc.'
required: true
type: string
jobs:
release:
uses: spring-projects/spring-integration-aws/.github/workflows/spring-finalize-release.yml@main
with:
milestone: ${{ inputs.milestone }}
secrets: inherit

View File

@@ -39,7 +39,7 @@ jobs:
exit 1
fi
echo releaseVersion=$RELEASE_VERSION >> $GITHUB_OUTPUT
echo "::notice::RELEASE VERSION=$RELEASE_VERSION"
echo "::notice title=RELEASE VERSION::$RELEASE_VERSION"
staging:
needs: releaseVersion

View File

@@ -35,7 +35,9 @@ jobs:
--changelog.contributors.exclude.names=$repositoryTeam
- name: GitHub Release
run: gh release create v${{ env.MILESTONE }} -F changelog.md ${{ (contains(env.MILESTONE, '-M') || contains(env.MILESTONE, '-RC')) && '--prerelease' }}
run: |
RELEASE_URL=$(gh release create v${{ env.MILESTONE }} -F changelog.md ${{ (contains(env.MILESTONE, '-M') || contains(env.MILESTONE, '-RC')) && '--prerelease' }})
echo "::notice title=Release Page::$RELEASE_URL"
- name: Close Milestone
run: |

View File

@@ -83,5 +83,4 @@ jobs:
fi
echo buildName=$buildName >> $GITHUB_OUTPUT
echo buildNumber=$buildNumber >> $GITHUB_OUTPUT
echo "::notice::Artifactory Build Name=$buildName"
echo "::notice::Artifactory Build Number=$buildNumber"
echo "::notice title=Artifactory Build Name & Number::$buildName/$buildNumber"