-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue gh-50
- Loading branch information
Showing
1 changed file
with
1 addition
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,8 +39,6 @@ on: | |
required: false | ||
GH_ACTIONS_REPO_TOKEN: | ||
required: true | ||
SPRING_RELEASE_SLACK_WEBHOOK_URL: | ||
required: true | ||
|
||
env: | ||
GRADLE_ENTERPRISE_CACHE_USERNAME: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }} | ||
|
@@ -114,27 +112,7 @@ jobs: | |
env: | ||
VERSION: ${{ steps.project-version.outputs.version }} | ||
run: ./gradlew closeMilestone -PnextVersion=$VERSION -PgitHubAccessToken=$TOKEN | ||
- name: Announce Release on Slack | ||
uses: slackapi/[email protected] | ||
env: | ||
VERSION: ${{ steps.project-version.outputs.version }} | ||
SLACK_ANNOUNCING_ID: ${{ inputs.slack-announcing-id }} | ||
SLACK_WEBHOOK_URL: ${{ secrets.SPRING_RELEASE_SLACK_WEBHOOK_URL }} | ||
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK | ||
with: | ||
payload: | | ||
{ | ||
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now", | ||
"blocks": [ | ||
{ | ||
"type": "section", | ||
"text": { | ||
"type": "mrkdwn", | ||
"text": "${{ env.SLACK_ANNOUNCING_ID }} `${{ env.VERSION }}` is available now" | ||
} | ||
} | ||
] | ||
} | ||
# TODO: Add integration with GChat for #spring-release channel. | ||
next-development-version: | ||
name: Next Development Version | ||
runs-on: ubuntu-latest | ||
|