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

Fix GitHub Deprecation warnings #87

Merged
merged 1 commit into from
Jun 14, 2023

Conversation

wnienhaus
Copy link
Collaborator

This commit fixes 2 Github Deprecations:

  1. Node12 Actions GitHub deprecated Node12 for running actions. In this commit we're switching to the latest version of action/checkout, which has been updated to run on a newer Node version. See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

  2. set-output/set-state commands GitHub deprecated the ::set-output command which we use to pass PATH information between build steps. This commit switches to echoing a key=value pair to the environment file $GITHUB_OUTPUT. See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

See the recent Github Actions run, which flagged those deprecations

This commit fixes 2 Github Deprecations:

1. Node12 Actions
   GitHub deprecated Node12 for running actions. In this commit
   we're switching to the latest version of action/checkout,
   which has been updated to run on a newer Node version.
   See: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/

2. set-output/set-state commands
   GitHub deprecated the ::set-output command which we use to pass
   PATH information between build steps. This commit switches to
   echoing a key=value pair to the environment file $GITHUB_OUTPUT.
   See: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
@wnienhaus wnienhaus merged commit 05fdeb3 into micropython:master Jun 14, 2023
1 check passed
@wnienhaus wnienhaus deleted the fix_gh_deprecations branch June 14, 2023 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant