From 1f9a1762c60a0ddd2c0278443be30628e8f176ea Mon Sep 17 00:00:00 2001 From: Shane <6071159+smashedr@users.noreply.github.com> Date: Sat, 27 Sep 2025 22:23:57 -0700 Subject: [PATCH] Fixes --- dist/index.js | 5 ++--- src/index.js | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/dist/index.js b/dist/index.js index d3c7a1a..ed7d500 100644 --- a/dist/index.js +++ b/dist/index.js @@ -27265,7 +27265,8 @@ function requireSrc () { const stage = core.getState('STAGE') || 'main'; if (stage === 'main') { - core.info('🏳️ Starting - Test Exec Action'); + core.info('🏳️ Starting - Docker Context Action'); + core.saveState('STAGE', 'cleanup'); if (core.getInput('pass') || core.getInput('ssh_key')) { console.log('▶️ Running step: src/ssh.sh'); @@ -27286,8 +27287,6 @@ function requireSrc () { } else { core.info('No registry_user/registry_pass. Skipping Docker Login...'); } - - core.saveState('STAGE', 'cleanup'); } else if (stage === 'cleanup') { if (core.getState('SSH_CLEANUP')) { console.log('▶️ Running step: src/cleanup.sh'); diff --git a/src/index.js b/src/index.js index e86d406..2d96509 100644 --- a/src/index.js +++ b/src/index.js @@ -6,7 +6,8 @@ const exec = require('@actions/exec') const stage = core.getState('STAGE') || 'main' if (stage === 'main') { - core.info('🏳️ Starting - Test Exec Action') + core.info('🏳️ Starting - Docker Context Action') + core.saveState('STAGE', 'cleanup') if (core.getInput('pass') || core.getInput('ssh_key')) { console.log('▶️ Running step: src/ssh.sh') @@ -27,8 +28,6 @@ const exec = require('@actions/exec') } else { core.info('No registry_user/registry_pass. Skipping Docker Login...') } - - core.saveState('STAGE', 'cleanup') } else if (stage === 'cleanup') { if (core.getState('SSH_CLEANUP')) { console.log('▶️ Running step: src/cleanup.sh')