Compare commits

...

3 Commits

Author SHA1 Message Date
CrazyMax
e468171a9d
Merge pull request #429 from crazy-max/fix-keep-state
Some checks failed
ci / use (false) (push) Successful in 2m35s
ci / use (true) (push) Failing after 39s
ci / driver (image=moby/buildkit:latest) (push) Failing after 2m52s
ci / driver (image=moby/buildkit:master network=host ) (push) Failing after 36s
ci / docker-driver (push) Failing after 34s
ci / endpoint (push) Failing after 38s
ci / config (push) Failing after 1m36s
ci / config-inline (push) Failing after 38s
ci / with-qemu (, all) (push) Failing after 35s
ci / with-qemu (, arm64,riscv64,arm) (push) Failing after 35s
ci / with-qemu (v0.9.1, all) (push) Failing after 35s
ci / with-qemu (v0.9.1, arm64,riscv64,arm) (push) Failing after 36s
ci / build-ref (cb185f095fd3d9444e0aa605d3789e9e05f2a1e7) (push) Failing after 38s
ci / build-ref (master) (push) Failing after 36s
ci / build-ref (refs/pull/731/head) (push) Failing after 2m57s
ci / build-ref (refs/tags/v0.5.1) (push) Failing after 1m53s
ci / standalone-cmd (push) Failing after 37s
ci / standalone-action (push) Failing after 39s
ci / standalone-install-error (push) Failing after 40s
ci / append (push) Successful in 2m33s
ci / platforms (push) Successful in 10m41s
ci / docker-context (push) Failing after 35s
ci / cleanup (false) (push) Failing after 37s
ci / cleanup (true) (push) Failing after 36s
ci / k3s (v0.10.5) (push) Failing after 37s
ci / k3s (v0.11.0) (push) Failing after 36s
ci / cache-binary (false) (push) Failing after 36s
ci / cache-binary (true) (push) Failing after 37s
ci / keep-state-error (push) Failing after 37s
ci / keep-state (push) Failing after 17m33s
fix keep-state not being respected
2025-06-18 10:37:30 +02:00
CrazyMax
a3e7502fd0
chore: update generated content
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-17 17:34:10 +02:00
CrazyMax
b145473295
fix keep-state not being respected
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-06-17 17:34:10 +02:00
4 changed files with 6 additions and 5 deletions

View File

@ -621,6 +621,7 @@ jobs:
uses: ./
with:
name: foo
keep-state: true
keep-state-error:
runs-on: ubuntu-latest

2
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@ export const certsDir = process.env['STATE_certsDir'] || '';
export const tmpDockerContext = process.env['STATE_tmpDockerContext'] || '';
export const cleanup = /true/i.test(process.env['STATE_cleanup'] || '');
export const buildxIsDefaultBuilder = /true/i.test(process.env['STATE_buildxIsDefaultBuilder'] || '');
export const keepState = !!process.env['STATE_keepState'];
export const keepState = /true/i.test(process.env['STATE_keepState'] || '');
export function setDebug(debug: string) {
core.saveState('isDebug', debug);
@ -47,6 +47,6 @@ export function setBuildxIsDefaultBuilder(buildxIsDefaultBuilder: boolean) {
core.saveState('buildxIsDefaultBuilder', buildxIsDefaultBuilder);
}
export function setKeepState(retain: boolean) {
core.saveState('keepState', retain);
export function setKeepState(keepState: boolean) {
core.saveState('keepState', keepState);
}