forked from mirrors/action-gh-release
parent
2cf5c66450
commit
affa18ef97
4 changed files with 8 additions and 3 deletions
|
@ -8,6 +8,7 @@ export interface Config {
|
|||
// user provided
|
||||
input_name?: string;
|
||||
input_tag_name?: string;
|
||||
input_repository?: string;
|
||||
input_body?: string;
|
||||
input_body_path?: string;
|
||||
input_files?: string[];
|
||||
|
@ -41,7 +42,7 @@ export const parseConfig = (env: Env): Config => {
|
|||
return {
|
||||
github_token: env.GITHUB_TOKEN || "",
|
||||
github_ref: env.GITHUB_REF || "",
|
||||
github_repository: env.GITHUB_REPOSITORY || "",
|
||||
github_repository: env.INPUT_REPOSITORY || env.GITHUB_REPOSITORY || "",
|
||||
input_name: env.INPUT_NAME,
|
||||
input_tag_name: env.INPUT_TAG_NAME,
|
||||
input_body: env.INPUT_BODY,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue