File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -621,6 +621,7 @@ jobs:
621
621
uses : ./
622
622
with :
623
623
name : foo
624
+ keep-state : true
624
625
625
626
keep-state-error :
626
627
runs-on : ubuntu-latest
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ export const certsDir = process.env['STATE_certsDir'] || '';
9
9
export const tmpDockerContext = process . env [ 'STATE_tmpDockerContext' ] || '' ;
10
10
export const cleanup = / t r u e / i. test ( process . env [ 'STATE_cleanup' ] || '' ) ;
11
11
export const buildxIsDefaultBuilder = / t r u e / i. test ( process . env [ 'STATE_buildxIsDefaultBuilder' ] || '' ) ;
12
- export const keepState = ! ! process . env [ 'STATE_keepState' ] ;
12
+ export const keepState = / t r u e / i . test ( process . env [ 'STATE_keepState' ] || '' ) ;
13
13
14
14
export function setDebug ( debug : string ) {
15
15
core . saveState ( 'isDebug' , debug ) ;
@@ -47,6 +47,6 @@ export function setBuildxIsDefaultBuilder(buildxIsDefaultBuilder: boolean) {
47
47
core . saveState ( 'buildxIsDefaultBuilder' , buildxIsDefaultBuilder ) ;
48
48
}
49
49
50
- export function setKeepState ( retain : boolean ) {
51
- core . saveState ( 'keepState' , retain ) ;
50
+ export function setKeepState ( keepState : boolean ) {
51
+ core . saveState ( 'keepState' , keepState ) ;
52
52
}
You can’t perform that action at this time.
0 commit comments