Skip to content

Commit 551ae8e

Browse files
committed
change
1 parent fe19bc5 commit 551ae8e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/build-android.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
build-hold:
1616
name: Hold
1717
runs-on: ubuntu-latest
18-
if: ${{ inputs.trigger != 'develop' }}
18+
if: ${{ inputs.trigger == 'pr' }}
1919
environment: experimental_android_build
2020
steps:
2121
- run: echo "Waiting for manual approval..."
@@ -24,7 +24,7 @@ jobs:
2424
name: Build
2525
runs-on: ubuntu-latest
2626
needs: [build-hold]
27-
if: ${{ inputs.type == 'experimental' }}
27+
if: ${{ inputs.type == 'experimental' && (always() && (needs.build-hold.result == 'success' || needs.build-hold.result == 'skipped')) }}
2828
outputs:
2929
VERSIONCODE: ${{ steps.version.outputs.VERSIONCODE }}
3030
steps:
@@ -98,4 +98,4 @@ jobs:
9898
type: experimental
9999
FASTLANE_GOOGLE_SERVICE_ACCOUNT: ${{ secrets.FASTLANE_GOOGLE_SERVICE_ACCOUNT }}
100100
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
101-
VERSIONCODE: ${{ needs.build-android.outputs.VERSIONCODE }}
101+
VERSIONCODE: ${{ needs.build-android.outputs.VERSIONCODE }}

0 commit comments

Comments
 (0)