From fe829f797481c36eb669dbc6c3bbe7d61e8428b2 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Mon, 12 Feb 2024 21:18:27 +0100 Subject: [PATCH] Only report success to Asana when build_notarized is run for the official release (#2194) Task/Issue URL: https://app.asana.com/0/1203301625297703/1206584139104169/f --- .github/workflows/build_notarized.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build_notarized.yml b/.github/workflows/build_notarized.yml index 281a8e77a4..010df3bcc6 100644 --- a/.github/workflows/build_notarized.yml +++ b/.github/workflows/build_notarized.yml @@ -211,6 +211,7 @@ jobs: aws s3 cp ${{ github.workspace }}/release/${{ steps.set-outputs.outputs.dsym-name }} ${{ env.DSYM_S3_PATH }} - name: Report success + if: ${{ env.upload-to == 's3' }} uses: ./.github/actions/asana-log-message env: DSYM_S3_PATH: ${{ steps.upload-dsyms-to-s3.outputs.dsym-s3-path }} @@ -298,6 +299,7 @@ jobs: s3://${{ env.RELEASE_BUCKET_NAME }}/${{ env.RELEASE_BUCKET_PREFIX }}/ - name: Report success + if: ${{ env.upload-to == 's3' }} uses: ./.github/actions/asana-log-message env: DMG_URL: ${{ vars.DMG_URL_ROOT }}${{ steps.create-dmg.outputs.dmg }}