[Build] Tweak CI

This commit is contained in:
SpaiR committed 2021-05-30 21:25:31 +03:00
1 parent 5a8692248a
commit 983003613d
1 file changed
+2 -12
+2 -12
View File
@@ -1,13 +1,5 @@
name: CI Build
on:
push:
pull_request:
workflow_dispatch:
inputs:
type:
description: 'Type'
required: true
default: 'update'
on: [push, pull_request, workflow_dispatch]
jobs:
build-java:
strategy:
@@ -101,7 +93,7 @@ jobs:
path: ${{ matrix.expected }}
if-no-files-found: error
update-natives:
if: github.event.inputs.type == 'update'
if: github.event_name == 'workflow_dispatch'
name: Update Natives
runs-on: ubuntu-20.04
needs: build-natives
@@ -113,8 +105,6 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v2
with:
token: ${{ secrets.GH_ACTIONS_REPO }}
- name: Move Natives
run: |