From 8019d941f376d6f650735a88216bf5baebb7f397 Mon Sep 17 00:00:00 2001 From: Albert Date: Sun, 22 Mar 2020 15:16:36 +0800 Subject: [PATCH] feat: Set outputs.skip when action skipped cf. #165 --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 9492bdc..1964f95 100644 --- a/src/main.ts +++ b/src/main.ts @@ -30,6 +30,7 @@ export async function run(): Promise { core.warning( 'This action runs on a fork and not found auth token, Skip deployment' ); + core.setOutput('skip', 'true'); return; } }