Skip to content

Commit

Permalink
fix: invalid input plat_form
Browse files Browse the repository at this point in the history
  • Loading branch information
baozouai committed May 13, 2023
1 parent 0ad1922 commit 48d5dfd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -19,7 +19,7 @@ async function main(): Promise<void> {
// 读取参数: 用户 ID
const USER_ID = core.getInput('user_id')
// 读取参数: 平台 PLAT_FORM
const PLAT_FORM = (core.getInput('plat_form')) as SupportPlatform
const PLAT_FORM = (core.getInput('platform')) as SupportPlatform
if (!SUPPORT_PLAT_FORM.includes(PLAT_FORM))
return core.setFailed(`平台: ${PLAT_FORM}暂不支持,请提issue`)
try {
Expand Down

0 comments on commit 48d5dfd

Please sign in to comment.