Skip to content

Commit

Permalink
feat: Set outputs.skip when action skipped
Browse files Browse the repository at this point in the history
cf. #165
  • Loading branch information
corollari authored Mar 22, 2020
1 parent cf8d655 commit 8019d94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 8019d94

Please sign in to comment.