mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #170] Add RUNNER_TEMP (was: Node 12.16 Not found) #114
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#114
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 @purefan on GitHub (Mar 25, 2020).
Original GitHub issue: https://github.com/nektos/act/issues/170
Hello and thank you for the project!
Im trying to test an action that among other things needs to install nodejs (and then yarn), for now Im taking it one step at a time, checking out the project seems to work fine but when installing node act exists with the error:
Am I missing something?
@purefan commented on GitHub (Mar 25, 2020):
Tried changing the step to yarn and that worked, so I guess this is not a problem in
actbut in the actual step...fyi, this works for me:
@purefan commented on GitHub (Mar 26, 2020):
Sorry to re-open but Im no longer sure where the problem lies. The following workflow works in Github but not in
act:With the error:
Please let me know if I should post this somewhere
@kaira commented on GitHub (Mar 27, 2020):
I suppose the issue is that act does not introduce RUNNER_TEMP env var. Which is required by setup-node actions. Meanwhile you can try container:
@pseudo-su commented on GitHub (Apr 6, 2020):
I have a similar issue in a go project (workflow is here https://github.com/pseudo-su/golang-service-template/blob/master/.github/workflows/go.yml)
Using the following looks like it solves it locally but I don't want to commit this
seems like it'd be a good idea to have
actset the RUNNER_TEMP environment variable@deltaguita commented on GitHub (Apr 10, 2020):
Hi , I have a similar issue with ruby
@FezVrasta commented on GitHub (Apr 10, 2020):
Having the same issue with setup-node :-(
@cookiescrumbs commented on GitHub (Apr 16, 2020):
Same issue....
@mattbrictson commented on GitHub (Apr 16, 2020):
This fixed some of the problems for me:
There is an explanation in the README.
@cookiescrumbs commented on GitHub (Apr 16, 2020):
@mattbrictson Thanks for pointing that out. I'm glad someone reads the docs :)
I also had to add
RUNNER_TEMP: /tmplike @pseudo-suAnd that worked ...
@cplee commented on GitHub (Apr 16, 2020):
RUNNER_TEMPshould be included automatically byact@braceta commented on GitHub (Apr 23, 2020):
@cplee just tried this and RUNNER_TEMP is still not passed onto actions/setup-node step. Seems to work if you add it to the run_context.go, but don't know if that's the right thing to do.
@cplee commented on GitHub (Apr 23, 2020):
@braceta - was in a hurry and missed a
git add🤦♂️- should be fixed now!@braceta commented on GitHub (Apr 23, 2020):
@cplee awesome. Thanks :)
@fejx commented on GitHub (Apr 28, 2020):
Another workaround until the fix is released would be to utilize the
.actrcfile or the--env-fileswitch to set the environment variable externally. See the Configuration Section in the readme for details.@braceta commented on GitHub (Apr 28, 2020):
@fejx didn't work for me.
@fejx commented on GitHub (Apr 28, 2020):
You are right. To be honest, I haven't checked if it actually worked when I posted this.
@zhujian7 commented on GitHub (Apr 3, 2024):
Add
--container-options -e RUNNER_TEMP=/tmpinto~/.actrcworks for me.