Closed dennislwm closed 3 years ago
Can you show us your repository folder structures?
I think this is the repository https://github.com/dennislwm/docker-youtube-dl
I manage to get your error:
Error: Cannot find module '/github/workspace/index.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
at Function.Module._load (internal/modules/cjs/loader.js:667:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Maybe you should add the *.js files in order to achieve the checkout from your repository and publish it on achor.fm. Maybe you deleted those files when you cloned the repo
Maybe my understanding of Github marketplace action is incorrect.
As I didn't fork or clone your repo, but merely used your action from marketplace.
So what you are suggesting is that I need to fork or clone your repo in order for the action to work. Is that correct?
Regards
So what you are suggesting is that I need to fork or clone your repo in order for the action to work. Is that correct?
Yes
Hi,
I've followed your instruction on "How to use it?"
(1) I created a file called
episode.json
and wrote my youtube id within it.(2) I created a main.yml workflow
But I'm getting the error above during the job
upload_episode
.