mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[GH-ISSUE #2263] copy: not found, runs fine on github but fails on act #1058
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#1058
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 @brianmgray on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2263
Bug report info
Command used with act
Describe issue
I expect the action to run successfully as it does on Github. I hopped into the container, and indeed copy is not available on the command line, but I am not sure why.
Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
The copy is a result of a "prebuild" command I have in my package.json:
"prebuild": "copy ../.env* .",
@spmsupun commented on GitHub (Jul 15, 2024):
The same issue, I copied my .env.local to the project file it doesn't take when I try to build.
it works in GitHub with no issues
@brianmgray commented on GitHub (Jul 27, 2024):
Ah thanks for the reminder @spmsupun .
I did get this working-
copyis not included in the runner I was using. More about the runners here: https://nektosact.com/usage/runners.htmlI was running with this in my .actrc:
-P ubuntu-latest=catthehacker/ubuntu:act-latestAnd act-latest does not include copy.
I used this to install the extra tools I needed: