Skip to content

Commit e75d622

Browse files
authored
Update publish.yml
1 parent dfe9c86 commit e75d622

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
env:
2121
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2222
- name: Publish
23-
run: |
24-
VERSION=${GITHUB_REF#"refs/tags/"}
25-
echo $VERSION
26-
yarn publish --new-version $VERSION
23+
run: yarn publish --new-version $VERSION
24+
env:
25+
VERSION: ${GITHUB_REF#"refs/tags/"}

0 commit comments

Comments
 (0)