Fix parentheses in workflow (#2292)

Mismatched parenthesis meant releases were never created
This commit is contained in:
Sam Freund
2026-01-12 17:59:28 -06:00
committed by GitHub
parent 3b57125d96
commit 021053d43e

View File

@@ -600,7 +600,7 @@ jobs:
release:
# Require smoketest-native so that if those fail, we don't release broken artifacts
needs: [build-photonlib-vendorjson, build-image, combine, build-package-linux, build-package-macos, build-package-windows, run-smoketest-native]
if: github.ref == ('refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.repository == 'PhotonVision/photonvision'
if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')) && github.repository == 'PhotonVision/photonvision'
runs-on: ubuntu-24.04
steps:
# Download all fat JARs