This repository was archived by the owner on Mar 30, 2022. It is now read-only.
Commit dd5d9bd innc11
committed
1 parent d9e03c1 commit dd5d9bd Copy full SHA for dd5d9bd
File tree 1 file changed +4
-21
lines changed
1 file changed +4
-21
lines changed Original file line number Diff line number Diff line change @@ -20,29 +20,12 @@ jobs:
20
20
run : |
21
21
yarn
22
22
yarn run build
23
- copy dist\april-comment.js dist\index.js
24
- copy dist\april-comment.js dist\index.js.map
25
- copy dist\april-comment.css dist\index.css
26
- copy dist\april-comment.css dist\index.css.map
27
-
28
- - name : Check Out TagName
29
- id : checkout-tagname
30
- shell : " python3 {0}"
31
- run : |
32
- import os
33
- import re
34
- ref = os.getenv('GITHUB_REF', '')
35
- match = re.search(r'refs\/tags\/(.*)', ref)
36
- tag_name = match[1] if match is not None else ''
37
- print('::set-output name=tag_name::'+tag_name)
23
+ cp dist/april-comment.js dist/index.js
24
+ cp dist/april-comment.js dist/index.js.map
25
+ cp dist/april-comment.css dist/index.css
26
+ cp dist/april-comment.css dist/index.css.map
38
27
39
28
- name : NPM Publish
40
29
uses : JS-DevTools/npm-publish@v1
41
30
with :
42
31
token : ${{ secrets.NPM_TOKEN }}
43
-
44
- - if : steps.publish.outputs.type != 'none'
45
- run : |
46
- echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"
47
-
48
-
You can’t perform that action at this time.
0 commit comments