File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,10 @@ jobs:
17
17
with :
18
18
node-version : 12
19
19
registry-url : https://registry.npmjs.org/
20
- - uses : olegtarasov/get-tag@v2
20
+ - name : Get Version from Git Tag
21
21
id : tag_name
22
- with :
23
- tagRegex : ' v(.*) '
22
+ run : |
23
+ echo "VERSION=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
24
24
- name : Install Dependencies and Package Project
25
25
id : installing
26
26
run : |
31
31
uses : actions/upload-artifact@v1
32
32
with :
33
33
name : package-npm
34
- path : cfn-rpdk-${{ steps.tag_name.outputs.tag }}.tgz
34
+ path : cfn-rpdk-${{ env.VERSION }}.tgz
35
35
36
36
delivery-python :
37
37
name : Prepare for PyPI
@@ -72,10 +72,10 @@ jobs:
72
72
path : dist/
73
73
- name : List Artifacts
74
74
run : |
75
- echo ::set-env name= ARTIFACTS:: $(echo package-npm/* && echo dist/*)
75
+ echo ' ARTIFACTS=" $(echo package-npm/* && echo dist/*)"' >> $GITHUB_ENV
76
76
- name : GitHub Release
77
77
id : releasing
78
- uses : docker://antonyurchenko/git-release:v3.1 .2
78
+ uses : docker://antonyurchenko/git-release:v3.4 .2
79
79
env :
80
80
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
81
81
DRAFT_RELEASE : ' false'
You can’t perform that action at this time.
0 commit comments