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 f88d5e7 commit 128774f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/upgrade-dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
run: yarn install
- name: Run yarn outdated
run: yarn outdated > outdated.txt
continue-on-error: true
# Took me way too much debugging to figure out: `yarn outdated` uses exit code 1 if outdated packages are present
# See also: https://github.com/yarnpkg/yarn/issues/7573
- name: Save the output from yarn outdated in a variable to reference in the PR body
id: yarn
# See: https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings
Expand Down

0 comments on commit 128774f

Please sign in to comment.