forked from mirrors/action-gh-release
regenerate js, log on tag miss for debugging
This commit is contained in:
parent
5f2e9fb50f
commit
f3c225f2b8
3 changed files with 52 additions and 5 deletions
|
@ -22,7 +22,7 @@ function run() {
|
|||
throw new Error(`⚠️ GitHub Releases requires a tag`);
|
||||
}
|
||||
const gh = new github_2.GitHub(config.github_token);
|
||||
let rel = yield github_1.release(config, gh);
|
||||
let rel = yield github_1.release(config, new github_1.GitHubReleaseer(gh));
|
||||
if (config.input_files) {
|
||||
util_1.paths(config.input_files).forEach((path) => __awaiter(this, void 0, void 0, function* () {
|
||||
yield github_1.upload(gh, rel.upload_url, path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue