mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
ci: replaced deprecated github set-output
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
This commit is contained in:
parent
43bdea7243
commit
5177db3db0
7
.github/workflows/node.js.yml
vendored
7
.github/workflows/node.js.yml
vendored
@ -53,12 +53,7 @@ jobs:
|
||||
run: |
|
||||
npm -v
|
||||
npmMajorVer=$(npm -v | cut -d. -f1)
|
||||
echo "::set-output name=major::$npmMajorVer"
|
||||
if [ $npmMajorVer -le 5 ]; then
|
||||
echo "::set-output name=install::npm install"
|
||||
else
|
||||
echo "::set-output name=install::npm ci"
|
||||
fi
|
||||
echo "major=$npmMajorVer" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Disable prettier on older Node.js (8.x, 10.x, 12.x)
|
||||
run: |
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user