AnswerDotAI / AnswerDotAI/ghapi
Set outputs is currently using syntax which is due to be deprecated
- Lingua principale
- Python
- Stelle
- 686
- Fork
- 69
- Merge medio
- 1m
- PR unite (30g)
- 2
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da ghapi/actions.py alla riga 119, quindi leggi la guida collegata di GitHub sulla deprecazione dei comandi set-output. Aggiorna il metodo di output di actions in modo che utilizzi file di ambiente e verifica che i workflows non generino più l'avviso relativo a set-output deprecato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions, python
- Ambito
- ci-cd
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 65/100