Open dekimsey opened 1 year ago
I'm receiving this error, prob for the reason mentioned above, but I don't know what the fix is. I also have the action.yml
in the root of the repo, and the line uses: ./
, but my understanding is that is the correct path. I get that it is user error but I can't tell what my error is?
D'oh, sorry about that @keithmgould. Add a local checkout like this:
jobs:
test--handling:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
# ... remainder of test
That solved!! Thank you!
Act version
0.2.43
Feature description
If the user's test workflow tries to use the repository root as an action, it can fail with an opaque error message, 'file not found'. The root cause is a user error and not an application one, it'd just be nice to make that more clear to the user if possible.
Given a workflow like such:
The following output is emitted
The same action when uploaded to GitHub returns a more actionable error message:
This is a user error, as the local action must first be checked out to do the test.