Skip to content

Commit

Permalink
chore: update status reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Shelomentsev committed Mar 27, 2024
1 parent 83beec3 commit ebaf419
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/functional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
java: [ '8', '11', '17', '21' ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '${{ matrix.java }}'
Expand All @@ -31,11 +31,14 @@ jobs:
FPJS_API_REGION: "${{ secrets.FPJS_API_REGION }}"
FPJS_VISITOR_ID: "${{ secrets.FPJS_VISITOR_ID }}"
FPJS_REQUEST_ID: "${{ secrets.FPJS_REQUEST_ID }}"
- name: Report Status
if: always()
uses: ravsamhq/notify-slack-action@0d9c6ff1de9903da88d24c0564f6e83cb28faca9
with:
status: ${{ job.status }}
notification_title: 'Java ${{ matrix.java }} SDK Functional Test has {status_message}'
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}


report_status:
needs: functional_tests
if: always()
uses: fingerprintjs/dx-team-toolkit/.github/workflows/report-workflow-status.yml@v1
with:
notification_title: 'Node SDK Functional Tests has {status_message}'
job_status: ${{ needs.functional_tests.result }}
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit ebaf419

Please sign in to comment.