diff --git a/.github/workflows/xcode-versions-build.yml b/.github/workflows/xcode-versions-build.yml index 9c9a1358c..49a15849c 100644 --- a/.github/workflows/xcode-versions-build.yml +++ b/.github/workflows/xcode-versions-build.yml @@ -77,7 +77,7 @@ jobs: node Report\ Scripts/multixcode-failure-report.js createMultiXcodeFailureReport ${{ github.head_ref || github.ref_name }} ${{ matrix.xcode}} ${{ matrix.variant }} - name: Slack Notification if: ${{ failure() }} - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 #v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2.0.0 with: channel-id: ${{ secrets.SLACK_MOBILE_SDK_CHANNEL }} payload-file-path: '/var/tmp/multixcode-failure-report.json' @@ -103,7 +103,7 @@ jobs: node Report\ Scripts/multixcode-success-report.js createMultiXcodeSummaryReport ${{ github.head_ref || github.ref_name }} "14.3.1, 14.2, 14.1" "cocoapods, spm" - name: Slack Notification if: ${{ success() }} - uses: slackapi/slack-github-action@37ebaef184d7626c5f204ab8d3baff4262dd30f0 #v1.27.0 + uses: slackapi/slack-github-action@485a9d42d3a73031f12ec201c457e2162c45d02d #v2.0.0 with: channel-id: ${{ secrets.SLACK_MOBILE_SDK_CHANNEL }} payload-file-path: '/var/tmp/multixcode-success-summary.json'