From 8113eb6b3aef5e73d1422d68162aaf6e5ff0f2f6 Mon Sep 17 00:00:00 2001 From: "W. Augusto Andreoli" Date: Sat, 19 Aug 2023 03:35:13 +0200 Subject: [PATCH] ci: always run build and release on master branch --- .github/workflows/python.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 7cdc81f3..6142a66b 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -24,7 +24,8 @@ jobs: build: needs: pre_job - if: needs.pre_job.outputs.should_skip != 'true' + # Always run the build step when pushing to master + if: needs.pre_job.outputs.should_skip != 'true' || (github.event_name == 'push' && github.ref == 'refs/heads/master') name: "${{ matrix.python-version }} ${{ matrix.os }}" strategy: fail-fast: false