Skip to content

Use environmental variable GITHUB_OUTPUT instead of the deprecated set-output command#2263

Merged
seisman merged 1 commit intomainfrom
action-set-output
Dec 22, 2022
Merged

Use environmental variable GITHUB_OUTPUT instead of the deprecated set-output command#2263
seisman merged 1 commit intomainfrom
action-set-output

Conversation

@seisman
Copy link
Member

@seisman seisman commented Dec 21, 2022

Description of proposed changes

Reference:

  1. https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
  2. https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

Fixes #

Reminders

  • Run make format and make check to make sure the code follows the style guide.
  • Add tests for new features or tests that would have caught the bug that you're fixing.
  • Add new public functions/methods/classes to doc/api/index.rst.
  • Write detailed docstrings for all functions/methods.
  • If wrapping a new module, open a 'Wrap new GMT module' issue and submit reasonably-sized PRs.
  • If adding new functionality, add an example to docstrings or tutorials.
  • Use underscores (not hyphens) in names of Python files and directories.

Slash Commands

You can write slash commands (/command) in the first line of a comment to perform
specific operations. Supported slash commands are:

  • /format: automatically format and lint the code
  • /test-gmt-dev: run full tests on the latest GMT development version

@seisman seisman added maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog labels Dec 21, 2022
@seisman seisman added this to the 0.8.0 milestone Dec 21, 2022
@yvonnefroehlich yvonnefroehlich mentioned this pull request Dec 21, 2022
65 tasks
@seisman seisman requested a review from weiji14 December 22, 2022 04:18
@seisman seisman changed the title Use environmental variable instead of the deprecated set-output command Use environmental variable GITHUB_OUTPUT instead of the deprecated set-output command Dec 22, 2022
@seisman seisman merged commit bba527b into main Dec 22, 2022
@seisman seisman deleted the action-set-output branch December 22, 2022 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs skip-changelog Skip adding Pull Request to changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants