ci: build on PR

This commit is contained in:
Moritz Raabe
2022-05-06 16:29:54 +02:00
parent bcd00004b8
commit 80e4161b40

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: