Skip to content

Replace workflows' set-output with new way of defining variables in GH actions #9679

@ggbecker

Description

@ggbecker

Github workflows should use https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-output-parameter

instead of set-output directive. For example:

run: echo "::set-output name=FORK_POINT::$(git merge-base origin/$BASE_BRANCH ${{ github.event.pull_request.head.sha }})"

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

Metadata

Metadata

Assignees

Labels

Test SuiteUpdate in Test Suite.good first issueGood candidates to get started contributing to CaC.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions