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

Use new gha API for setting output, latest core actions #3237

Merged
merged 5 commits into from Oct 25, 2022

Conversation

simonbasle
Copy link
Member

@simonbasle simonbasle commented Oct 18, 2022

This commit changes the way job output is defined, using the new way of
a GITHUB_OUTPUT file environment variable.

The old way of echoing strings is deprecated for sensitive elements,
including action/job output.

It also reorders the output in order to:

  • ensure BAD version is detected before any output and fails the job
  • ensure only one version/versionType is outputted when there are
    multiple modules (here, the reactor-core one)

Finally it updates core and gradle actions to latest versions.
This fixes warnings about deprecated output style and deprecated Node
version being still in use by these actions.

See reactor/reactor#727.

This commit changes the way job output is defined, using the new way of
a GITHUB_OUTPUT file environment variable.

The old way of echoing strings is deprecated for sensitive elements,
including action/job output.

It also reorders the output in order to:
 - ensure BAD version is detected before any output and fails the job
 - ensure only one version/versionType is outputted when there are
 multiple modules (here, the `reactor-core` one)
@simonbasle simonbasle requested a review from a team as a code owner October 18, 2022 14:27
@simonbasle simonbasle added this to the 3.4.25 milestone Oct 18, 2022
@simonbasle simonbasle added the type/chores A task not related to code (build, formatting, process, ...) label Oct 18, 2022
@simonbasle simonbasle self-assigned this Oct 18, 2022
@simonbasle
Copy link
Member Author

See https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Note that the part about reordering output might also be important in 3.5.0, since there is now a submodule with a separate version (reactor-core-micrometer).

simonbasle added a commit to reactor/reactor-pool that referenced this pull request Oct 18, 2022
This commit changes the way job output is defined, using the new way of
a GITHUB_OUTPUT file environment variable.

The old way of echoing strings is deprecated for sensitive elements,
including action/job output.

It also reorders the output in order to:

• ensure BAD version is detected before any output and fails the job
• ensure only one version/versionType is outputted when there are
multiple modules (here, the `reactor-pool` one)

See also reactor/reactor-core#3237.
This commit updates core and gradle actions to latest versions.
This fixes warnings about deprecated output style and deprecated Node
version being still in use.
@simonbasle simonbasle changed the title Use new gha API for setting output Use new gha API for setting output, latest core actions Oct 18, 2022
@reactorbot
Copy link

@simonbasle this PR seems to have been merged on a maintenance branch, please ensure the change is merge-forwarded to intermediate maintenance branches and up to main 🙇

@simonbasle simonbasle deleted the actionsOutputNewApi branch October 25, 2022 16:51
simonbasle added a commit that referenced this pull request Oct 25, 2022
chemicL pushed a commit that referenced this pull request Mar 7, 2023
This commit changes the way job output is defined, using the new way of
a GITHUB_OUTPUT file environment variable.

The old way of echoing strings is deprecated for sensitive elements,
including action/job output.

It also reorders the output in order to:
 - ensure BAD version is detected before any output and fails the job
 - ensure only one version/versionType is outputted when there are
 multiple modules (here, the `reactor-core` one)

Finally it updates core and gradle actions to latest versions.
This fixes warnings about deprecated output style and deprecated Node
version being still in use by these actions.

See reactor/reactor#727.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/chores A task not related to code (build, formatting, process, ...)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants