From 983003613db3c667e0c90073ba0f0e632e3b1770 Mon Sep 17 00:00:00 2001 From: SpaiR Date: Sun, 30 May 2021 21:25:31 +0300 Subject: [PATCH] [Build] Tweak CI --- .github/workflows/ci-build.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index c91c6de..dbefeb1 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -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: |