Attempt to fix send-notification 'uses'

See gh-42333
This commit is contained in:
Phillip Webb
2024-10-01 15:34:32 -07:00
parent c3b8337638
commit 5b71d94d5b

View File

@@ -36,7 +36,7 @@ jobs:
- name: Check Out Send Notification Action
uses: actions/checkout@v4
with:
path: ${{ vars.COMMERCIAL && 'spring-boot' || 'spring-boot-commercial' }}
path: send-notification
sparse-checkout: .github/actions/send-notification
- name: Set Up Java
uses: actions/setup-java@v4
@@ -72,7 +72,7 @@ jobs:
name: build-reports
path: '**/build/reports/'
- name: Send Notification
uses: ${{ vars.COMMERCIAL && './spring-boot-commercial/.github/actions/send-notification' || './spring-boot/.github/actions/send-notification' }}
uses: ./send-notification/.github/actions/send-notification
if: always()
with:
webhook-url: ${{ secrets.google-chat-webhook-url }}