Skip to content

Commit 27079f5

Browse files
committed
WIP
1 parent 8b4e2e1 commit 27079f5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ jobs:
2525

2626
# extract tag name
2727
- id: tag
28-
uses: actions/github-script@0.2.0
29-
with:
30-
script: return context.payload.ref.replace(/\/?refs\/tags\//, '');
28+
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
3129

3230
# update version
3331
- uses: actions/setup-node@v1

0 commit comments

Comments
 (0)