diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cf9cb92..8d6aadd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -101,9 +101,12 @@ jobs: runs-on: ubuntu-latest needs: version-check if: | - needs.version-check.outputs.build_needed == 'true' && (github.event_name != 'pull_request') && - (github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == 'refs/heads/master')) + ( + (github.event_name == 'push' && github.ref == 'refs/heads/master') || + (github.event_name == 'workflow_dispatch') || + (github.event_name == 'schedule' && needs.version-check.outputs.build_needed == 'true') + ) strategy: fail-fast: false matrix: