Browse Source

Make send notification action available to verify job

3.1.x
Andy Wilkinson 2 years ago
parent
commit
14fef8c100
  1. 7
      .github/workflows/build-and-deploy-snapshot.yml

7
.github/workflows/build-and-deploy-snapshot.yml

@ -79,6 +79,11 @@ jobs:
repository: spring-projects/spring-boot-release-verification repository: spring-projects/spring-boot-release-verification
ref: 'main' ref: 'main'
token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }} token: ${{ secrets.GH_ACTIONS_REPO_TOKEN }}
- name: Check out send notification action
uses: actions/checkout@v4
with:
path: spring-boot
sparse-checkout: .github/actions/send-notification
- name: Set up Java - name: Set up Java
uses: actions/setup-java@v4 uses: actions/setup-java@v4
with: with:
@ -105,7 +110,7 @@ jobs:
name: build-reports name: build-reports
path: '**/build/reports/' path: '**/build/reports/'
- name: Send notification - name: Send notification
uses: ./.github/actions/send-notification uses: ./spring-boot/.github/actions/send-notification
if: always() if: always()
with: with:
webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }} webhook-url: ${{ secrets.GOOGLE_CHAT_WEBHOOK_URL }}

Loading…
Cancel
Save