Skip to content

Commit

Permalink
debug: does basics work?
Browse files Browse the repository at this point in the history
  • Loading branch information
DerTiedemann committed Nov 27, 2024
1 parent 923224c commit b6c9ff3
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions actions/gcp-gsm-load-secrets/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,13 @@ runs:
run: |
echo '${{ toJSON(steps.secrets.outputs) }}'
echo "console.log('${{ toJSON(steps.secrets.outputs) }}')"
- name: "Set outputs"
uses: "actions/github-script@v7"
with:
script: |
let secrets = ${{ toJSON(steps.secrets.outputs) }}
for (const [key, value] of Object.entries(secrets)) {
core.setOutput(key, value);
console.log(`Set output ${key}`);
}
echo "TEST=SOMEHTHING" >> "$GITHUB_OUTPUT"
# - name: "Set outputs"
# uses: "actions/github-script@v7"
# with:
# script: |
# let secrets = ${{ toJSON(steps.secrets.outputs) }}
# for (const [key, value] of Object.entries(secrets)) {
# core.setOutput(key, value);
# console.log(`Set output ${key}`);
# }

0 comments on commit b6c9ff3

Please sign in to comment.