From af01e06c35e83950d67528bfe1f5b986ddebc746 Mon Sep 17 00:00:00 2001 From: Juan Manuel Villacorta Campos Date: Thu, 24 Mar 2022 16:21:04 +0000 Subject: [PATCH] NPM publish --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 95cf1e7..d25d258 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - name: Check version - run: echo "Version ${{ steps.vars.outputs.tag }}" + run: echo "Version ${{ github.event.client_payload.new-tag }}" - name: Use Node.js 16 uses: actions/setup-node@v1 @@ -53,7 +53,7 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Bump NPM version - run: npm --no-git-tag-version --allow-same-version version ${{ steps.vars.outputs.tag }} + run: npm --no-git-tag-version --allow-same-version version ${{ github.event.client_payload.new-tag }} - name: NPM publish run: npm publish --access public