feat: Set outputs.skip when action skipped

cf. #165
This commit is contained in:
Albert 2020-03-22 15:16:36 +08:00 committed by GitHub
parent cf8d655310
commit 8019d941f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -30,6 +30,7 @@ export async function run(): Promise<void> {
core.warning(
'This action runs on a fork and not found auth token, Skip deployment'
);
core.setOutput('skip', 'true');
return;
}
}