mirror of
https://github.com/nektos/act.git
synced 2026-04-26 01:15:51 +03:00
[GH-ISSUE #543] Issue: Environment variable USER is not set #366
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#366
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 @terlar on GitHub (Feb 23, 2021).
Original GitHub issue: https://github.com/nektos/act/issues/543
I was trying to execute
cachix/install-nix-action@v12but the script depends on the environment variable USER being set. This works on GitHub Actions. See:https://github.com/cachix/install-nix-action/blob/master/lib/install-nix.sh#L16
Act version
Expected behaviour
cachix/install-nix-action@v12executes successfullyActual behaviour
Workflow and/or repository
https://github.com/terlar/nix-config/blob/master/.github/workflows/build.yml
Steps to reproduce
act -j build_nixos_configurationsactoutputLog
@CohenCyril commented on GitHub (Mar 10, 2021):
Same problem here in a different repository
@CohenCyril commented on GitHub (Mar 10, 2021):
The problem is solved by adding
--env USER=myusernameto the command line, but then another failure appears when trying to install nix@jsoref commented on GitHub (Apr 4, 2021):
Using a tool I wrote for something else... https://github.com/jsoref/gha-debug/runs/2017914814?check_suite_focus=true
GitHub
Act
GitHub additions
Act additions
Offhand, I think this is what I'd want:
''''''''jobs)''(or not set?)origin0/dev/nullrunnerrunner@github-actions[bot] commented on GitHub (May 5, 2021):
Issue is stale and will be closed in 14 days unless there is new activity
@jsoref commented on GitHub (May 5, 2021):
In progress
@catthehacker commented on GitHub (May 6, 2021):
Fixed via #667