Merge pull request #1021 from mandiant/ci/fix-build-workflow

ci: build on PR
This commit is contained in:
Moritz
2022-05-06 22:07:53 +02:00
committed by GitHub

View File

@@ -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: