Skip to content

Commit

Permalink
chore: fix multiline string variable in workflow [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xiehan committed Jul 2, 2024
1 parent 995198c commit ccfbf0e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/upgrade-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,11 @@ jobs:
- name: Get the output from yarn outdated and save it in a variable to reference in the PR body
id: yarn
run: |-
YARN_OUTDATED=$(yarn outdated)
echo "outdated=YARN_OUTDATED" >> $GITHUB_OUTPUT
{
echo 'outdated<<EOF'
yarn outdated
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Do the upgrade
run: yarn upgrade
- name: Create Pull Request
Expand Down

0 comments on commit ccfbf0e

Please sign in to comment.