You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
name: test action
on: [push]
jobs:
test--handling:
runs-on: ubuntu-latest
steps:
- uses: ./
with:
hello: world
The same action when uploaded to GitHub returns a more actionable error message:
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/action-test/action-test'. Did you forget to run actions/checkout before running your local action?
This is a user error, as the local action must first be checked out to do the test.
The text was updated successfully, but these errors were encountered:
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?
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.
The text was updated successfully, but these errors were encountered: