Step Output - Definição do Glossário de CI/CD
Um step output é um valor nomeado que um step produz escrevendo name=value no arquivo $GITHUB_OUTPUT, depois lido por steps posteriores no mesmo job como ${{ steps.<id>.outputs.<name> }}.
Como definir um
Dê ao step um id: e rode echo "version=1.2.3" >> "$GITHUB_OUTPUT". O comando mais antigo ::set-output está obsoleto. Step outputs são como você passa um valor computado (uma tag, um caminho) adiante sem re-executar o trabalho.
Guias relacionados
Reusable Workflow - CI/CD Glossary DefinitionReusable Workflow: A reusable workflow is a complete workflow file that other workflows can call with `uses:`…
Context Expression - CI/CD Glossary DefinitionContext Expression: A context expression is a `${{ ... }}` template in a workflow that reads from contexts li…
Job Summary - CI/CD Glossary DefinitionJob Summary: A job summary is custom Markdown a step writes to the `$GITHUB_STEP_SUMMARY` file, rendered on t…