Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate set-output usage to $GITHB_OUTPUT #44757

Merged
merged 3 commits into from
Jan 10, 2023

Conversation

ijjk
Copy link
Member

@ijjk ijjk commented Jan 10, 2023

@ijjk ijjk added the created-by: Next.js team PRs by the Next.js team. label Jan 10, 2023
@ijjk ijjk marked this pull request as ready for review January 10, 2023 22:37
@ijjk ijjk merged commit 4c84ecc into vercel:canary Jan 10, 2023
@@ -506,7 +506,7 @@ jobs:
name: next-swc-test-binary
path: packages/next-swc/native

- run: echo "::set-output name=CNA_CHANGE::$(node scripts/run-for-change.js --type cna --always-canary --exec echo 'yup')"
- run: echo "CNA_CHANGE<<EOF" >> $GITHUB_OUTPUT; echo "$(node scripts/run-for-change.js --type cna --always-canary --exec echo 'yup')" >> $GITHUB_OUTPUT; echo "EOF" >> $GITHUB_OUTPUT
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you intend to have two EOF here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two as in the beginning one and end one?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. I guess I dont understand how the new format works for newlines like this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh followed this tip to resolve the new line handling https://stackoverflow.com/a/74256214

@ijjk ijjk deleted the ci/migrate-set-output branch January 10, 2023 22:45
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants