From 80e4161b40ddb1e63ffe5d265b97bdd5810eee30 Mon Sep 17 00:00:00 2001 From: Moritz Raabe Date: Fri, 6 May 2022 16:29:54 +0200 Subject: [PATCH] ci: build on PR --- .github/workflows/build.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0d85fdce..022fc0ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,17 +1,13 @@ name: build on: - workflow_run: - workflows: [CI] - types: - - completed + pull_request: + branches: [ master ] release: types: [edited, published] jobs: build: - # only build on release or if tests pass - if: ${{ github.event_name == 'release' }} || ${{ github.event.workflow_run.conclusion == 'success' }} name: PyInstaller for ${{ matrix.os }} runs-on: ${{ matrix.os }} strategy: