Skip to content

Commit

Permalink
GITHUB_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
fadeev committed Sep 3, 2024
1 parent 8f0c445 commit bed715c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ jobs:
run: |
VERSION_TAG=${GITHUB_REF#refs/tags/v}
if [[ $VERSION_TAG == *"-"* ]]; then
echo ::set-output name=NPM_TAG::${VERSION_TAG#*-}
echo "NPM_TAG=${VERSION_TAG#*-}" >> "$GITHUB_ENV"
else
echo ::set-output name=NPM_TAG::latest
echo "NPM_TAG=latest" >> "$GITHUB_ENV"
fi
env:
GITHUB_REF: ${{ github.ref }}
Expand Down

0 comments on commit bed715c

Please sign in to comment.