Skip to content

Commit

Permalink
ci: try again printing
Browse files Browse the repository at this point in the history
  • Loading branch information
Cammin committed May 9, 2024
1 parent fcaa4a7 commit 6c16804
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/semantic-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ jobs:
- name: Print Semantic Release Outputs
run: |
echo "Semantic Release Outputs:"
for output in $(jq -r 'keys[]' <<< "${{ toJson(steps.semantic-release.outputs) }}"); do
value=$(jq -r ".$output" <<< "${{ toJson(steps.semantic-release.outputs) }}")
echo "$output: $value"
for key in $(echo "${!SEMANTIC_RELEASE_OUTPUTS[@]}"); do
echo "$key: ${SEMANTIC_RELEASE_OUTPUTS[$key]}"
done
env:
SEMANTIC_RELEASE_OUTPUTS: ${{ toJson(steps.semantic-release.outputs) }}

- name: Discord notification
if: steps.semantic-release.outputs != null
Expand Down

0 comments on commit 6c16804

Please sign in to comment.