Set outputs is currently using syntax which is due to be deprecated

Open Beginner friendly
#158 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
github-actions, python
Domain
ci-cd

Research direction

Start at ghapi/actions.py line 119, then read GitHub's linked guidance on deprecating set-output commands. Update the actions output method to use environment files and verify that workflows no longer generate the deprecated set-output warning.

Written by the indexing model from the issue text.

Description

The actions output method is currently using Syntax that will be deprecated on 31/05/23. Will this be updated in line with the guidance issued by GitHub?

actions method using deprecated syntax: https://github.com/fastai/ghapi/blob/master/ghapi/actions.py#L119

guidance issued by GitHub: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Currently, using the method results in the following warning being generated on workflows:
The set-output command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/Show more

Dominant language
Python
Stars
687
Forks
69
Avg merge
1m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AnswerDotAI/ghapi

All issues in AnswerDotAI/ghapi

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.