mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[PR #1429] [CLOSED] feat: add support for writing to GITHUB_OUTPUT #1945
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1945
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1429
Author: @veleek
Created: 11/7/2022
Status: ❌ Closed
Base:
master← Head:feat/github-output📝 Commits (2)
d3fd25ffeat: add support for writing to GITHUB_OUTPUT71e41dbMerge branch 'master' into feat/github-output📊 Changes
5 files changed (+49 additions, -6 deletions)
View changed files
📝
pkg/runner/run_context.go(+5 -0)📝
pkg/runner/runner_test.go(+1 -1)📝
pkg/runner/step.go(+15 -0)📝
pkg/runner/step_test.go(+1 -0)📝
pkg/runner/testdata/environment-files/push.yaml(+27 -5)📄 Description
As of the beginning of October, the
::set-outputcommand is being deprecated in favor of using Environment Files to avoid exposing data by untrusted loggers.Use of these commands will begin failing as of 31st May 2023.
This PR attempts to enable
actto support the$GITHUB_OUTPUTenvironment file. I'm a new contributor, so I'm not 100% sure if this covers all of the expected edge cases, so please let me know if there's a better way to accomplish this (e.g. maybe by adding an additional exectutor wrapper or something).🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
--focus#2203