mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #1488] environment variables should be case sensitive #765
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#765
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 @jsoref on GitHub (Dec 2, 2022).
Original GitHub issue: https://github.com/nektos/act/issues/1488
Originally assigned to: @KnisterPeter on GitHub.
Bug report info
Command used with act
Describe issue
GHA makes environment variables case sensitive on Linux/macOS. (On Windows, they're case preserving which is too complicated to fit in the margins.)
Link to GitHub repository
https://github.com/jsoref/nektos-act-env-case-sensitive
Workflow content
Relevant log output
Additional information
https://github.com/jsoref/nektos-act-env-case-sensitive/actions/runs/3598970524/jobs/6062193588#step:2:1
Run echo "$a $B"
The
|is from the docker environment and doesn't count as output.@ChristopherHX commented on GitHub (Dec 2, 2022):
Hmm, you found something I have not expected in the codebase
github.com/nektos/act@7754ba7fcf/pkg/model/workflow.go (L463-L470)@KnisterPeter git blame tells me that it was your PR
@KnisterPeter commented on GitHub (Dec 2, 2022):
Yes I'm guilty. That seem to be a regression.
@KnisterPeter commented on GitHub (Dec 7, 2022):
I don't think I did a regression, it was like that before:github.com/nektos/act@7754ba7fcf/pkg/model/workflow.go (L479)But anyway I'll look if I can provide a fix for that.Hmm, maybe I'm wrong here 😄