From 8cdeb01896134eac8c26e0901a79eb1750b5ecf0 Mon Sep 17 00:00:00 2001 From: David Thorpe Date: Mon, 6 May 2024 13:48:30 +0200 Subject: [PATCH] Updated action --- .github/workflows/publish.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 844e060..9d06872 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -6,13 +6,17 @@ jobs: var: name: Set variables runs-on: ubuntu-latest + outputs: + tag: ${{ steps.var.outputs.tag }} steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Set variables id: var run: | TAG="$(git describe --tags)" && echo "tag=${TAG#v}" >> $GITHUB_OUTPUT - outputs: - tag: ${{ steps.var.outputs.tag }} build: name: Build needs: var