Skip to content

Commit cbaaad6

Browse files
committed
bump: Write to environment files
1 parent 9c70126 commit cbaaad6

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/bump.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ jobs:
2525
- run: |
2626
body="$(npm run bumpdependencies)"
2727
echo "$body"
28-
body="${body//'%'/'%25'}"
29-
body="${body//$'\n'/'%0A'}"
30-
body="${body//$'\r'/'%0D'}"
31-
echo "::set-output name=body::$body"
28+
echo "body<<EOF" >> $GITHUB_OUTPUT
29+
echo "$body" >> $GITHUB_OUTPUT
30+
echo "EOF" >> $GITHUB_OUTPUT
3231
id: bumpdependencies
3332
- run: npm install
3433

0 commit comments

Comments
 (0)