Skip to content

Commit 9241884

Browse files
ci: fix build.yml dispatch failure
1 parent 34928a1 commit 9241884

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ on:
3030
jobs:
3131
Build_PVR_Server:
3232
name: Build PhoneVR Server
33+
if: github.event_name != 'repository_dispatch'
34+
3335
strategy:
3436
fail-fast: false
3537
matrix:
@@ -103,6 +105,7 @@ jobs:
103105
Build_APK:
104106
name: Build Android APK
105107
runs-on: ubuntu-latest
108+
if: github.event_name != 'repository_dispatch'
106109

107110
steps:
108111
- uses: actions/checkout@v4
@@ -227,6 +230,7 @@ jobs:
227230
)
228231
with:
229232
ref: 'refs/pull/${{ github.event.client_payload.pull_request.number }}/merge'
233+
submodules: 'true'
230234

231235
# - name: Test
232236
# run: |
@@ -553,7 +557,7 @@ jobs:
553557
) && always()
554558
env:
555559
number: ${{ github.event.client_payload.pull_request.number }}
556-
job: ${{ github.job }}
560+
job: ${{ github.job.name }}
557561
# Conveniently, job.status maps to https://developer.github.com/v3/checks/runs/#update-a-check-run
558562
conclusion: ${{ job.status }}
559563
with:

0 commit comments

Comments
 (0)