diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4aa76ea..7e3b2dd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,5 +24,4 @@ jobs: name: Import GPG key uses: ./ env: - ACTIONS_STEP_DEBUG: ${{ secrets.ACTIONS_STEP_DEBUG }} SIGNING_KEY: ${{ secrets.SIGNING_KEY_TEST }} diff --git a/dist/index.js b/dist/index.js index f15bdd3..93483af 100644 --- a/dist/index.js +++ b/dist/index.js @@ -126,7 +126,7 @@ function run() { core.debug(`key.fingerprint=${privateKey.fingerprint}`); core.debug(`key.keyID=${privateKey.keyID}`); core.debug(`key.userID=${privateKey.userID}`); - core.debug(`key.creationTime: ${privateKey.creationTime}`); + core.debug(`key.creationTime=${privateKey.creationTime}`); core.info('🔑 Importing secret key...'); yield gpg_1.importKey(process.env.SIGNING_KEY); } @@ -138,6 +138,7 @@ function run() { function cleanup() { return __awaiter(this, void 0, void 0, function* () { if (!privateKey) { + core.debug('Private key is not defined. Skipping cleanup.'); return; } try { diff --git a/src/main.ts b/src/main.ts index a2ca9cb..eea3645 100644 --- a/src/main.ts +++ b/src/main.ts @@ -20,7 +20,7 @@ async function run(): Promise { core.debug(`key.fingerprint=${privateKey.fingerprint}`); core.debug(`key.keyID=${privateKey.keyID}`); core.debug(`key.userID=${privateKey.userID}`); - core.debug(`key.creationTime: ${privateKey.creationTime}`); + core.debug(`key.creationTime=${privateKey.creationTime}`); core.info('🔑 Importing secret key...'); await importKey(process.env.SIGNING_KEY); @@ -31,6 +31,7 @@ async function run(): Promise { async function cleanup(): Promise { if (!privateKey) { + core.debug('Private key is not defined. Skipping cleanup.'); return; } try {