diff --git a/.github/workflows/build-syncthing.yaml b/.github/workflows/build-syncthing.yaml index b2a287d6e..8b8a78a19 100644 --- a/.github/workflows/build-syncthing.yaml +++ b/.github/workflows/build-syncthing.yaml @@ -98,7 +98,7 @@ jobs: package-windows: name: Package for Windows - if: github.event_name == 'push' && github.ref == 'refs/heads/release' + if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-')) environment: signing needs: - build-test @@ -197,7 +197,7 @@ jobs: package-macos: name: Package for macOS - if: github.event_name == 'push' && github.ref == 'refs/heads/release' + if: github.event_name == 'push' && (github.ref == 'refs/heads/release' || startsWith(github.ref, 'refs/heads/release-')) environment: signing needs: - build-test