Skip to content

Commit 9830036

Browse files
committed
[Build] Tweak CI
1 parent 5a86922 commit 9830036

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/ci-build.yml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,5 @@
11
name: CI Build
2-
on:
3-
push:
4-
pull_request:
5-
workflow_dispatch:
6-
inputs:
7-
type:
8-
description: 'Type'
9-
required: true
10-
default: 'update'
2+
on: [push, pull_request, workflow_dispatch]
113
jobs:
124
build-java:
135
strategy:
@@ -101,7 +93,7 @@ jobs:
10193
path: ${{ matrix.expected }}
10294
if-no-files-found: error
10395
update-natives:
104-
if: github.event.inputs.type == 'update'
96+
if: github.event_name == 'workflow_dispatch'
10597
name: Update Natives
10698
runs-on: ubuntu-20.04
10799
needs: build-natives
@@ -113,8 +105,6 @@ jobs:
113105

114106
- name: Checkout Repository
115107
uses: actions/checkout@v2
116-
with:
117-
token: ${{ secrets.GH_ACTIONS_REPO }}
118108

119109
- name: Move Natives
120110
run: |

0 commit comments

Comments
 (0)