mirror of
https://github.com/nektos/act.git
synced 2026-04-26 17:35:49 +03:00
[GH-ISSUE #1647] $GITHUB_STEP_SUMMARY is undefined #818
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#818
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 @joanrodriguez on GitHub (Feb 23, 2023).
Original GitHub issue: https://github.com/nektos/act/issues/1647
Bug report info
Command used with act
Describe issue
When running act, my workflows fail if they try to write to GITHUB_STEP_SUMMARY.
I found as a workaround that I can make my workflows work by providing a value through the --env flag:
I searched the code and the only mention of this ENV variable is this line:
github.com/nektos/act@932863bef5/.github/actions/run-tests/action.yml (L65-L68)Since it's wrapped around an if statement, I'm assuming that it cannot fail.
Not familiar with the code and not a Go developer, but I'm assuming it should be defined there?
github.com/nektos/act@21ea3d0d5f/pkg/runner/step.go (L108-L111)Thanks
Link to GitHub repository
No response
Workflow content
Relevant log output
@joanrodriguez commented on GitHub (Feb 23, 2023):
Sorry, just found out about https://github.com/nektos/act/pull/1607 and https://github.com/nektos/act/issues/1533
@catthehacker commented on GitHub (Feb 23, 2023):
Fixed via #1607
@joanrodriguez commented on GitHub (Feb 24, 2023):
Thanks!!
When's the next release?
@jsoref commented on GitHub (Apr 4, 2024):
It was released in https://github.com/nektos/act/releases/tag/v0.2.43