Skip to content

Commit

Permalink
fix: move environment to release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
paulschreiber committed Jul 11, 2024
1 parent 227d01e commit 9d87252
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build-shared-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ jobs:
android-build:
name: Android Build
runs-on: ubuntu-latest
environment: ${{ (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'beta')) && 'production' || 'staging' }}
env:
STRICT: ${{ inputs.STRICT }}
ENV: ${{ vars.ENV }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/build-shared-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ jobs:
ios-build:
name: iOS Build
runs-on: macos-14
environment: ${{ (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'beta')) && 'production' || 'staging' }}
env:
STRICT: ${{ inputs.STRICT }}
ENV: ${{ vars.ENV }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
ios-build-release:
name: Build and sign iOS app
uses: ./.github/workflows/build-shared-ios.yml
environment: ${{ (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'beta')) && 'production' || 'staging' }}
with:
upload: 'true'
APP_BUILD: ${{ github.ref_name }}
Expand All @@ -26,6 +27,7 @@ jobs:
android-build-release:
name: Build and sign Android app
uses: ./.github/workflows/build-shared-android.yml
environment: ${{ (startsWith(github.ref, 'refs/tags/v') && !contains(github.ref_name, 'beta')) && 'production' || 'staging' }}
with:
upload: 'true'
APP_BUILD: ${{ github.ref_name }}
Expand Down

0 comments on commit 9d87252

Please sign in to comment.