From 50e5c672db464f3f27eb38badbaaa3edc094e190 Mon Sep 17 00:00:00 2001 From: Adrian Bruno Date: Mon, 24 Nov 2025 22:41:18 -0500 Subject: [PATCH] Fix complex logic not being parsed properly by surrounding in quotes --- .github/workflows/deploy-base.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-base.yml b/.github/workflows/deploy-base.yml index eb74cf92..598c776f 100644 --- a/.github/workflows/deploy-base.yml +++ b/.github/workflows/deploy-base.yml @@ -113,7 +113,7 @@ jobs: - name: Apply Tag to Ref if: inputs.version == '' # Only apply new tag if no specific version was provided - uses: actions/github-script@v5 + uses: actions/github-script@v8 with: script: | github.rest.git.createRef({ @@ -135,7 +135,7 @@ jobs: - name: Checkout code uses: actions/checkout@v5 with: - ref: ${{ inputs.version == 'latest' || inputs.version == '' ? github.sha : format('refs/tags/{0}/{1}', matrix.target, inputs.version) }} # Checkout specific version if provided, otherwise current SHA + ref: "${{ inputs.version == 'latest' || inputs.version == '' ? github.sha : format('refs/tags/{0}/{1}', matrix.target, inputs.version) }}" # Checkout specific version if provided, otherwise current SHA - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3