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:
1717 with :
1818 node-version : 12
1919 registry-url : https://registry.npmjs.org/
20- - uses : olegtarasov/get-tag@v2
20+ - name : Get Version from Git Tag
2121 id : tag_name
22- with :
23- tagRegex : ' v(.*) '
22+ run : |
23+ echo "VERSION=$(echo ${GITHUB_REF:11})" >> $GITHUB_ENV
2424 - name : Install Dependencies and Package Project
2525 id : installing
2626 run : |
3131 uses : actions/upload-artifact@v1
3232 with :
3333 name : package-npm
34- path : cfn-rpdk-${{ steps.tag_name.outputs.tag }}.tgz
34+ path : cfn-rpdk-${{ env.VERSION }}.tgz
3535
3636 delivery-python :
3737 name : Prepare for PyPI
@@ -72,10 +72,10 @@ jobs:
7272 path : dist/
7373 - name : List Artifacts
7474 run : |
75- echo ::set-env name= ARTIFACTS:: $(echo package-npm/* && echo dist/*)
75+ echo ' ARTIFACTS=" $(echo package-npm/* && echo dist/*)"' >> $GITHUB_ENV
7676 - name : GitHub Release
7777 id : releasing
78- uses : docker://antonyurchenko/git-release:v3.1 .2
78+ uses : docker://antonyurchenko/git-release:v3.4 .2
7979 env :
8080 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
8181 DRAFT_RELEASE : ' false'
You can’t perform that action at this time.
0 commit comments