Skip to content

Commit a11a607

Browse files
authored
Material: Stop the APK building for external PR's (#9607)
Currently PR's that trigger the Material CI to run will fail for external PR's due to how the APK signing key needs to be secured. This PR skips the APK build for external PR's as we build it in a manual run only when we publish a new Material update.
1 parent 096b8f0 commit a11a607

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/material.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
wasm_demo:
3636
uses: ./.github/workflows/wasm_gallery.yaml
3737
apk_demo:
38+
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
3839
uses: ./.github/workflows/apk_gallery.yaml
3940
secrets:
4041
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD }}
@@ -99,6 +100,7 @@ jobs:
99100
name: wasm_gallery
100101
path: ui-libraries/material/docs/dist/wasm
101102
- uses: actions/download-artifact@v5
103+
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository }}
102104
with:
103105
name: apk_gallery
104106
path: ui-libraries/material/docs/dist/apk

0 commit comments

Comments
 (0)