diff --git a/.github/workflows/build-shared-android.yml b/.github/workflows/build-shared-android.yml index 5013dfedf..aa11d841a 100644 --- a/.github/workflows/build-shared-android.yml +++ b/.github/workflows/build-shared-android.yml @@ -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 }} diff --git a/.github/workflows/build-shared-ios.yml b/.github/workflows/build-shared-ios.yml index b74a32dd8..eb126c952 100644 --- a/.github/workflows/build-shared-ios.yml +++ b/.github/workflows/build-shared-ios.yml @@ -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 }}