[PR #566] [MERGED] $GITHUB_PATH support #1499

Closed
opened 2026-03-01 21:51:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nektos/act/pull/566
Author: @torbjornvatn
Created: 3/15/2021
Status: Merged
Merged: 5/6/2021
Merged by: @mergify[bot]

Base: masterHead: GITHUB_PATH


📝 Commits (10+)

  • a5b4c2f Regression in the .golangci.yml file
  • 7a10688 This looks like an even better fix to #451
  • 1c5be00 Add support for >> $GITHUB_PATH
  • 2eea6ed The newRunCommand has too high cyclomatic complexity
  • 3f644ea Merge branch 'master' into GITHUB_PATH
  • 1dbe23f Merge upstream/master into GITHUB_PATH
  • d48152a Add "linux/arm64" to new test
  • 050b6fa The cyclop linter was complaining so I extracted some funcs
  • 956acf5 Close some readers
  • ff85987 Fix typo

📊 Changes

8 files changed (+223 additions, -124 deletions)

View changed files

📝 .golangci.yml (+1 -1)
📝 cmd/root.go (+1 -0)
📝 pkg/container/docker_run.go (+33 -0)
📝 pkg/model/planner.go (+1 -0)
📝 pkg/runner/run_context.go (+5 -0)
📝 pkg/runner/runner_test.go (+1 -0)
📝 pkg/runner/step_context.go (+140 -123)
pkg/runner/testdata/env-and-path/push.yaml (+41 -0)

📄 Description

Adds support for $GITHUB_PATH as described here as a replacement for the deprecated ::add-path syntax


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nektos/act/pull/566 **Author:** [@torbjornvatn](https://github.com/torbjornvatn) **Created:** 3/15/2021 **Status:** ✅ Merged **Merged:** 5/6/2021 **Merged by:** [@mergify[bot]](https://github.com/apps/mergify) **Base:** `master` ← **Head:** `GITHUB_PATH` --- ### 📝 Commits (10+) - [`a5b4c2f`](https://github.com/nektos/act/commit/a5b4c2fb3ad5c7bb8eaeb01a858245acbb0df035) Regression in the .golangci.yml file - [`7a10688`](https://github.com/nektos/act/commit/7a10688d9c7bf50f676750f64f0067487ef6b954) This looks like an even better fix to #451 - [`1c5be00`](https://github.com/nektos/act/commit/1c5be00829de76a18abd8cf24501f7670e3da9e9) Add support for >> $GITHUB_PATH - [`2eea6ed`](https://github.com/nektos/act/commit/2eea6edfcafdf7acaf5b78cc00baede7e40df49b) The newRunCommand has too high cyclomatic complexity - [`3f644ea`](https://github.com/nektos/act/commit/3f644eade3950ca0904e4eb6ca6cd2866c610208) Merge branch 'master' into GITHUB_PATH - [`1dbe23f`](https://github.com/nektos/act/commit/1dbe23f7e78baa46473318f2a7b436b78127c13a) Merge upstream/master into GITHUB_PATH - [`d48152a`](https://github.com/nektos/act/commit/d48152a053ddf0b7a28f40774b4071c0899e2d76) Add "linux/arm64" to new test - [`050b6fa`](https://github.com/nektos/act/commit/050b6faef04543e9775eb877210d38ed40fdc5dc) The cyclop linter was complaining so I extracted some funcs - [`956acf5`](https://github.com/nektos/act/commit/956acf5a57db31cbf0501e4c8725b70b41c223f8) Close some readers - [`ff85987`](https://github.com/nektos/act/commit/ff859877b976103371eff97575cf33bb69ca4f75) Fix typo ### 📊 Changes **8 files changed** (+223 additions, -124 deletions) <details> <summary>View changed files</summary> 📝 `.golangci.yml` (+1 -1) 📝 `cmd/root.go` (+1 -0) 📝 `pkg/container/docker_run.go` (+33 -0) 📝 `pkg/model/planner.go` (+1 -0) 📝 `pkg/runner/run_context.go` (+5 -0) 📝 `pkg/runner/runner_test.go` (+1 -0) 📝 `pkg/runner/step_context.go` (+140 -123) ➕ `pkg/runner/testdata/env-and-path/push.yaml` (+41 -0) </details> ### 📄 Description Adds support for $GITHUB_PATH as described [here](https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#adding-a-system-path) as a replacement for the deprecated `::add-path` syntax --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-01 21:51:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/act#1499
No description provided.