diff --git a/.github/workflows/deploy-sdk.yml b/.github/workflows/deploy-sdk.yml index d475a80ae..b0cd49b81 100644 --- a/.github/workflows/deploy-sdk.yml +++ b/.github/workflows/deploy-sdk.yml @@ -28,16 +28,16 @@ jobs: - name: Setup Android SDK uses: ./.github/actions/setup-android - # Generate SDK size report to update in main branch before deploying new release. - # The report is pushed by semantic-release action below by including files listed in the - # `assets` array in the `.releaserc` file. - - name: Generate SDK Size Report - run: | - ./gradlew publishToMavenLocal - ./gradlew generateSdkSizeReport -PwriteReportTo=reports/sdk-binary-size.json - env: - # Use local version to make sure the report is generated for the current changes - IS_DEVELOPMENT: 'true' +# # Generate SDK size report to update in main branch before deploying new release. +# # The report is pushed by semantic-release action below by including files listed in the +# # `assets` array in the `.releaserc` file. +# - name: Generate SDK Size Report +# run: | +# ./gradlew publishToMavenLocal +# ./gradlew generateSdkSizeReport -PwriteReportTo=reports/sdk-binary-size.json +# env: +# # Use local version to make sure the report is generated for the current changes +# IS_DEVELOPMENT: 'true' # Semantic-release tool is used to: # 1. Determine the next semantic version for the software during deployment. @@ -65,6 +65,8 @@ jobs: uses: slackapi/slack-github-action@v2.0.0 if: steps.semantic-release.outputs.new_release_published == 'true' # only run if a git tag was made. with: + webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} + webhook-type: incoming-webhook # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder payload: | { @@ -110,6 +112,8 @@ jobs: uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: + webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} + webhook-type: incoming-webhook # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder payload: | { @@ -168,6 +172,8 @@ jobs: uses: slackapi/slack-github-action@v2.0.0 if: ${{ success() }} with: + webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} + webhook-type: incoming-webhook # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder payload: | { @@ -205,6 +211,8 @@ jobs: uses: slackapi/slack-github-action@v2.0.0 if: ${{ failure() }} # only run this if any previous step failed with: + webhook: ${{ secrets.SLACK_NOTIFY_RELEASES_WEBHOOK_URL }} + webhook-type: incoming-webhook # Use block kit for format of the JSON payloads: https://app.slack.com/block-kit-builder payload: | {