Skip to content

Relative path to 'main' in local action #25320

Answered by weide-zhou
macdaddyaz asked this question in Actions
Discussion options

You must be logged in to vote

Hi @macdaddyaz,

Glad to see you in Github Community Forum!
I followed your repo structure and create own one, same setting but no error reported.
Your error should be caused by incorrect location specified somewhere for dist/index.js. Do you have other setting?
After the checkout action, before your own action, please use “cd .github…” and ‘ls -al’ to check your folder strucuture. If it looks fine, please check your .json and yaml if there are some location specified.

My repo for your reference: https://github.com/weide-zhou/hello-github-actions/tree/master/.github/actions/auth0-deploy
My workflow: https://github.com/weide-zhou/hello-github-actions/actions/runs/140467606/workflow

Thanks

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants