Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 authored May 28, 2024
1 parent 099c604 commit 3a3578e
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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 }}
Expand All @@ -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 }}

0 comments on commit 3a3578e

Please sign in to comment.