feat: Add outputs.skipped

This commit is contained in:
peaceiris 2020-03-22 16:24:03 +09:00
parent 8019d941f3
commit d38fb792ab
2 changed files with 4 additions and 1 deletions

View File

@ -66,3 +66,6 @@ inputs:
cname: cname:
description: 'Set custom domain' description: 'Set custom domain'
required: false required: false
outputs:
skipped:
description: 'This parameter has true when this action skipped deployment'

View File

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