Skip to content

Commit

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

0 comments on commit 9aac3a8

Please sign in to comment.