gitflow-action
gitflow-action copied to clipboard
Missing index.js Error
Running your latest Logerfo/[email protected]. I get this error when executing:
Run Logerfo/[email protected] with: github-token: *** release: test-13 release-regex: ^release/(.*) dev: develop master: main label: gitflow auto-merge: false require-merge: false Error: File not found: '/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js'
I did notice your main branch does not have the dist/index.js but release branch does?
You're right, thank you for reporting. I messed up the release process. It's been a while... almost three years without releasing.
I pushed up to release and 0.0.5 again. Can you retry, please?
Nope:
/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:346 client = new github.GitHub(token); ^
TypeError: github.GitHub is not a constructor
at Object.31 (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:346:14)
at webpack_require (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:24:31)
at startup (/home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:43:19)
at /home/runner/work/_actions/Logerfo/gitflow-action/0.0.5/dist/index.js:47:18
at Object.
Hmm, seems like a breaking change at @actions/github. I've made a new change for both release and 0.0.5, but I'm currently without a testing environment, so your feedback is very welcome.