From 5b71d94d5be2f8d46f3ff6d826f58d58e3447443 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 1 Oct 2024 15:34:32 -0700 Subject: [PATCH] Attempt to fix send-notification 'uses' See gh-42333 --- .github/workflows/verify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index ac5a255cfee4..999a9fcef9af 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -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 }}