Skip to content

Commit c9b5e6b

Browse files
committed
upload android to Internal Sharing only in pull request runs
1 parent 2c0ca3b commit c9b5e6b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/build-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
name: Internal Sharing
9090
runs-on: ubuntu-latest
9191
needs: [build-android]
92-
if: ${{ inputs.type == 'experimental' && (always() && (needs.build-android.result == 'success')) }}
92+
if: ${{ inputs.type == 'experimental' && inputs.trigger == 'pr' }}
9393
steps:
9494
- name: Checkout Repository
9595
uses: actions/checkout@v4

.github/workflows/build-official-android.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
name: Internal Sharing
8787
runs-on: ubuntu-latest
8888
needs: [build-android]
89-
if: ${{ inputs.type == 'official' && (always() && (needs.build-android.result == 'success')) }}
89+
if: ${{ inputs.type == 'official' && inputs.trigger == 'pr' }}
9090
steps:
9191
- name: Checkout Repository
9292
uses: actions/checkout@v4

0 commit comments

Comments
 (0)