mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1528] PATH is overwritten #774
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#774
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?
Originally created by @KnisterPeter on GitHub (Dec 20, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1528
Bug report info
Command used with act
Describe issue
The PATH variable is overwritten (or reset) when an action is executed wich creates some output.
The workflow below prints the PATH in two places:
actions/setup-nodeand the node bins are in the PATHfea/changelog-action. In that place the PATH was reset.The changelog actions is private, but in essence it just defines an output string. It does not install tools or modifies the PATH.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
No response
@KnisterPeter commented on GitHub (Dec 20, 2022):
This looks like a regresssion from https://github.com/nektos/act/pull/1472.
When this commit is reverted the added test case will succeed and the PATH is not reset.
@ChristopherHX commented on GitHub (Dec 20, 2022):
Sounds like an even older regression of
::add-path::, due to unification it expands GITHUB_PATH.