From 2c1542147e174f2929e4db132631339957dfdd07 Mon Sep 17 00:00:00 2001 From: miampf Date: Wed, 5 Feb 2025 15:30:08 +0100 Subject: [PATCH] use correct ternary syntax --- .github/workflows/check-measurements-reproducibility.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-measurements-reproducibility.yml b/.github/workflows/check-measurements-reproducibility.yml index 67a8054f4..dae243505 100644 --- a/.github/workflows/check-measurements-reproducibility.yml +++ b/.github/workflows/check-measurements-reproducibility.yml @@ -13,7 +13,7 @@ jobs: check-reproducibility: runs-on: ubuntu-22.04 env: - RELEASETAG: ${{ github.event_name == 'workflow_dispatch' ? github.event.inputs.releasetag : github.event.release.tag_name }} + RELEASETAG: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.releasetag || github.event.release.tag_name }} steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2