From 7c08c6747cb47eeb001e0b7f1a38466f60260f24 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Mon, 11 Jan 2021 21:51:22 +0100 Subject: [PATCH] Update forge_action.yml --- .github/workflows/forge_action.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/forge_action.yml b/.github/workflows/forge_action.yml index 1a3d29f..20eed90 100644 --- a/.github/workflows/forge_action.yml +++ b/.github/workflows/forge_action.yml @@ -1,6 +1,5 @@ name: Build and publish to Puppet Forge - on: push: tags: @@ -11,11 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Get latest tag - run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10}) + id: vars + run: echo ::set-output name=tag::${GITHUB_REF:10} - name: Clone repository - uses: actions/checkout@v1 + uses: actions/checkout@v2 with: - ref: ${{ env.RELEASE_VERSION }} + ref: ${{ steps.vars.outputs.tag }} - name: Build and publish module uses: barnumbirr/action-forge-publish@v2.3.0 env: