use correct ternary syntax

This commit is contained in:
miampf 2025-02-05 15:30:08 +01:00
parent 461a830a7b
commit 2c1542147e
No known key found for this signature in database
GPG Key ID: EF039364B5B6886C

View File

@ -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