From 3a3578e77189b40bc694ab6ba8a4b1e08835b3ee Mon Sep 17 00:00:00 2001 From: Code-Floof <13484789+Codel1417@users.noreply.github.com> Date: Mon, 27 May 2024 22:49:34 -0400 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7fbd1056..b1e45439 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -28,12 +28,16 @@ jobs: uses: ./.github/actions/setup_build - name: Pre Build Tasks uses: ./.github/actions/pre_build + - name: get Version + id: version + uses: ./.github/actions/version + with: + RELEASE_TAG: ${{ github.event.release.tag_name }} - name: Run build script id: build run: bash ${GITHUB_WORKSPACE}/Scripts/launchBuild.sh working-directory: Scripts env: - RELEASE_TAG: ${{ github.event.release.tag_name }} GITHUB_EVENT_NAME: ${{ github.event_name }} OS: ${{ matrix.os }} ANDROID_KEY_JKS: ${{ secrets.ANDROID_KEY_JKS }} @@ -52,8 +56,8 @@ jobs: working-directory: Scripts continue-on-error: false env: - VERSION: ${{ steps.build.outputs.SENTRY_RELEASE }} - BUILD_NUMBER: ${{ steps.build.outputs.SENTRY_DIST }} + VERSION: ${{ steps.version.outputs.BUILD_NUMBER }} + BUILD_NUMBER: ${{ steps.version.outputs.VERSION }} GOOGLE_SECRETS: ${{ secrets.GOOGLE_PLAY }} APPLE_SECRETS: ${{ secrets.APPLE }} OS: ${{ matrix.os }} @@ -68,5 +72,5 @@ jobs: SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} SENTRY_URL: ${{ secrets.SENTRY_URL }} - SENTRY_RELEASE: ${{ steps.build.outputs.SENTRY_RELEASE }} - SENTRY_DIST: ${{ steps.build.outputs.SENTRY_DIST }} + SENTRY_RELEASE: ${{ steps.build.outputs.BUILD_NUMBER }} + SENTRY_DIST: ${{ steps.build.outputs.VERSION }}