joshcai / leetcode-sync

GitHub Action for syncing LeetCode submissions to GitHub
293 stars 59 forks source link

Problem with running workflow file #21

Closed somixyz closed 11 months ago

somixyz commented 2 years ago

I have followed all these steps as described in the README file, but I keep getting this error.

build Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/_actions/somixyz/leetcode_solutions/v1.0'. Did you forget to run actions/checkout before running your local action?

What should I do here ?

joshcai commented 2 years ago

Hi @somixyz, I don't have permission to see the link - do you mind sharing the configuration you added, e.g. whatever is under .github/workflows?

AbhinavJaintle commented 1 year ago

Hi, I have the same error, did you resolve it @somixyz? @joshcai under .github/workflows, I only have sync_lc.yml with the same content as in your instructions. PFA Screenshot 2023-01-08 171729 Screenshot 2023-01-08 171801

joshcai commented 1 year ago

Hmm I see a similar issue reported in https://github.com/actions/checkout/issues/692, do you know if yours also fails the same way on the second run?

AbhinavJaintle commented 1 year ago

This is my experience, for developers and anyone who encounters any problem with this in the future:

Notes:

Hope this helps!