From 4c71c4091a3c68b7b7b376fa15bd19efc47a0096 Mon Sep 17 00:00:00 2001 From: Frederic Mereu Date: Wed, 2 Oct 2024 14:32:34 +0200 Subject: [PATCH] fix: tag --- .github/workflows/publish.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a0f1b7f..f6d4d2e 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,15 +14,17 @@ jobs: if: ${{ github.event.workflow_run.conclusion == 'success' }} steps: - - name: check out code - uses: actions/checkout@v4 - - name: Get image tag id: tag run: | tag=${GITHUB_REF##*/} echo tag=$tag >> $GITHUB_OUTPUT + - name: check out code + uses: actions/checkout@v4 + with: + ref: ${{ steps.tag.outputs.tag }} + - name: Download artifacts uses: actions/download-artifact@v4 with: