From dc7313487208da6a03ab3bc53ec5f3293a4f433e Mon Sep 17 00:00:00 2001 From: Ellie Bahadori Date: Mon, 10 Aug 2020 17:14:37 -0700 Subject: [PATCH] Modify syntax --- .github/workflows/continuous-integration-workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/continuous-integration-workflow.yml b/.github/workflows/continuous-integration-workflow.yml index 31b08bd4..18342fd8 100644 --- a/.github/workflows/continuous-integration-workflow.yml +++ b/.github/workflows/continuous-integration-workflow.yml @@ -82,12 +82,12 @@ jobs: GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} notify_slack: name: Notify Slack - needs: [build, artifacts, docs] runs-on: ubuntu-latest + env: + SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} + needs: [build, artifacts, docs] steps: - uses: act10ns/slack@v1 - - env: - SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} with: status: ${{ job.status }} steps: ${{ toJson(steps) }}