mirror of
https://github.com/softprops/action-gh-release.git
synced 2026-11-12 21:41:58 +08:00
Add tag_name option (#39)
Allow setting tag name like actions/create-release.
This commit is contained in:
1 parent
b7e450da2a
commit
9f4852ebe6
7 files changed
+18
-7
No files matched your search
@@ -7,6 +7,7 @@ export interface Config {
|
||||
github_repository: string;
|
||||
// user provided
|
||||
input_name?: string;
|
||||
input_tag_name?: string;
|
||||
input_body?: string;
|
||||
input_body_path?: string;
|
||||
input_files?: string[];
|
||||
@@ -41,6 +42,7 @@ export const parseConfig = (env: Env): Config => {
|
||||
github_ref: env.GITHUB_REF || "",
|
||||
github_repository: env.GITHUB_REPOSITORY || "",
|
||||
input_name: env.INPUT_NAME,
|
||||
input_tag_name: env.INPUT_TAG_NAME,
|
||||
input_body: env.INPUT_BODY,
|
||||
input_body_path: env.INPUT_BODY_PATH,
|
||||
input_files: parseInputFiles(env.INPUT_FILES || ""),
|
||||
|
||||
Reference in new issue
Block a user