Skip to content

Commit f16e9c1

Browse files
fix: tools doc
1 parent 733da2f commit f16e9c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ jobs:
127127
npm ci
128128
NEW_VERSION=$(npm outdated --parseable | cut -d: -f4 | xargs)
129129
if [ "$NEW_VERSION" != "" ]; then
130-
echo "NEW_VERSION=$NEW_VERSION" >> $GITHUB_ENV
130+
echo "NEW_VERSION=$(echo $NEW_VERSION | sed 's/ /\n/g')" >> $GITHUB_ENV
131131
rm -rf package-lock.json node_modules
132132
# Include $NEW_VERSION to explicitly update the package.json
133133
# entry for the dependency and also so that semver-major updates

0 commit comments

Comments
 (0)