Open jjkirby opened 2 years ago
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.
Running your latest Logerfo/gitflow-action@0.0.5. I get this error when executing:
Run Logerfo/gitflow-action@0.0.5 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?