Skip to content

Commit 14fa3d6

Browse files
committed
fix always string input
1 parent 3732f1d commit 14fa3d6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

action.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ inputs:
2121
skip-save:
2222
description: Skip saving layers in the post step
2323
required: false
24-
default: false
2524

2625
runs:
2726
using: node12

post.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import exec from 'actions-exec-listener'
44
import { LayerCache } from './src/LayerCache'
55
import { ImageDetector } from './src/ImageDetector'
66
import { assertType } from 'typescript-is'
7+
78
const main = async () => {
8-
if (core.getInput('skip-save')) {
9+
if (core.getInput('skip-save') != null) {
910
core.info('Skipping save.')
1011
return
1112
}

0 commit comments

Comments
 (0)