File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 66
77env :
88 CHANGELOG_ARTIFACTS : changelog
9+ # See: https://github.com/actions/setup-node/#readme
10+ NODE_VERSION : 14.x
911
1012jobs :
1113 create-changelog :
1517 - name : Checkout
1618 uses : actions/checkout@v2
1719
20+ - name : Install Node.js
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version : ${{ env.NODE_VERSION }}
24+ registry-url : ' https://registry.npmjs.org'
25+
1826 - name : Get Tag
1927 id : tag_name
2028 run : |
2634 mkdir "${{ github.workspace }}/${{ env.CHANGELOG_ARTIFACTS }}"
2735
2836 # Get the changelog file name to build
29- CHANGELOG_FILE_NAME="${{ steps.tag_name.outputs.TAG_NAME }}-$(date --iso-8601= s).md"
37+ CHANGELOG_FILE_NAME="${{ steps.tag_name.outputs.TAG_NAME }}-$(date +% s).md"
3038
3139 # Create manifest file pointing to latest changelog file name
3240 echo "$CHANGELOG_FILE_NAME" >> "${{ github.workspace }}/${{ env.CHANGELOG_ARTIFACTS }}/latest.txt"
You can’t perform that action at this time.
0 commit comments