From af63a837d542055f59f4f45011ea07a55effe468 Mon Sep 17 00:00:00 2001 From: Jan Max Tiedemann Date: Wed, 27 Nov 2024 02:09:39 +0100 Subject: [PATCH] fix: export all secrets --- actions/gcp-gsm-load-secrets/action.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/actions/gcp-gsm-load-secrets/action.yaml b/actions/gcp-gsm-load-secrets/action.yaml index c0558dd78..b94779d8c 100644 --- a/actions/gcp-gsm-load-secrets/action.yaml +++ b/actions/gcp-gsm-load-secrets/action.yaml @@ -49,6 +49,7 @@ runs: uses: "actions/github-script@v7" with: script: | - console.log('test') - let a = ${{ toJSON(steps.secrets.outputs) }} - console.log(a) + let secrets = ${{ toJSON(steps.secrets.outputs) }} + for (const [key, value] of Object.entries(secrets)) { + core.setOutput(key, value); + }