Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0fc7c78

Browse files
author
Alberto Iannaccone
authored
Install Node.js 14.x on compose-full-changelog workflow (#878)
* Install Node.js 14.x on compose-full-changelog workflow * change date formate in changelog file name * improve node js installation in workflow
1 parent 96b5edf commit 0fc7c78

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎.github/workflows/compose-full-changelog.yaml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66

77
env:
88
CHANGELOG_ARTIFACTS: changelog
9+
# See: https://github.com/actions/setup-node/#readme
10+
NODE_VERSION: 14.x
911

1012
jobs:
1113
create-changelog:
@@ -15,6 +17,12 @@ jobs:
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: |
@@ -26,7 +34,7 @@ jobs:
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"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /