forked from mirrors/action-gh-release
typo in type name
This commit is contained in:
parent
85bb079141
commit
ca93e708e3
4 changed files with 6 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
|||
import { paths, parseConfig, isTag } from "./util";
|
||||
import { release, upload, GitHubReleaseer } from "./github";
|
||||
import { release, upload, GitHubReleaser } from "./github";
|
||||
import { setFailed } from "@actions/core";
|
||||
import { GitHub } from "@actions/github";
|
||||
import { env } from "process";
|
||||
|
@ -11,7 +11,7 @@ async function run() {
|
|||
throw new Error(`⚠️ GitHub Releases requires a tag`);
|
||||
}
|
||||
const gh = new GitHub(config.github_token);
|
||||
let rel = await release(config, new GitHubReleaseer(gh));
|
||||
let rel = await release(config, new GitHubReleaser(gh));
|
||||
if (config.input_files) {
|
||||
paths(config.input_files).forEach(async path => {
|
||||
await upload(gh, rel.upload_url, path);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue