From 7069641511f7b43c8701172bec6e87dc0e4ead77 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Sat, 3 Feb 2024 09:46:24 +0100 Subject: [PATCH] Fix dsym path env --- .github/workflows/build_notarized.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build_notarized.yml b/.github/workflows/build_notarized.yml index d5bb4b685a..1b59cec0f4 100644 --- a/.github/workflows/build_notarized.yml +++ b/.github/workflows/build_notarized.yml @@ -165,6 +165,7 @@ jobs: run: | echo "app-version=${{ env.app-version }}" >> $GITHUB_OUTPUT echo "app-name=${{ env.app-name }}" >> $GITHUB_OUTPUT + echo "dsym-name=DuckDuckGo-${{ env.app-version }}-dSYM.zip" >> $GITHUB_OUTPUT - name: Upload app artifact uses: actions/upload-artifact@v4 @@ -176,7 +177,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: DuckDuckGo-${{ env.release-type }}-dSYM-${{ env.app-version }} - path: ${{ github.workspace }}/release/DuckDuckGo-${{ env.app-version }}-dSYM.zip + path: ${{ github.workspace }}/release/${{ steps.set-outputs.outputs.dsym-name }} - name: Extract Asana Task ID id: task-id @@ -200,11 +201,10 @@ jobs: AWS_ACCESS_KEY_ID: ${{ secrets.TEST_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: ${{ vars.TEST_AWS_DEFAULT_REGION }} - DSYM_NAME: DuckDuckGo-${{ env.app-version }}-dSYM.zip - DSYM_S3_PATH: s3://${{ vars.TEST_DSYM_BUCKET_NAME }}/${{ vars.TEST_DSYM_BUCKET_PREFIX }}/${{ env.DSYM_NAME }} + DSYM_S3_PATH: s3://${{ vars.TEST_DSYM_BUCKET_NAME }}/${{ vars.TEST_DSYM_BUCKET_PREFIX }}/${{ steps.set-outputs.outputs.dsym-name }} run: | echo "dsym-s3-path=${DSYM_S3_PATH}" >> $GITHUB_OUTPUT - aws s3 cp ${{ github.workspace }}/release/${{ env.DSYM_NAME }} ${{ env.DSYM_S3_PATH }} + aws s3 cp ${{ github.workspace }}/release/${{ steps.set-outputs.outputs.dsym-name }} ${{ env.DSYM_S3_PATH }} - name: Report success uses: ./.github/actions/asana-log-message