Skip to content

Commit

Permalink
Change step output from update to updates
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Aug 1, 2024
1 parent 90a352f commit 5a94206
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/settings-1-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,7 @@ jobs:
echo "$update"
# Replace all '"' in $update with '\"' so GitHub's fromJson(...) interprets it correctly.
echo "update<<ENDJSON" >> $GITHUB_OUTPUT
echo "${update//\"/\\\"}" >> $GITHUB_OUTPUT
echo "ENDJSON" >> $GITHUB_OUTPUT
echo "updates=$update" >> $GITHUB_OUTPUT
# update=$(jq --raw-output --compact-output \
# '[.deployment | to_entries[] | .key as $d | .value | to_entries[] | {
Expand All @@ -99,7 +97,7 @@ jobs:
strategy:
fail-fast: false
matrix:
update: ${{ fromJson(needs.setup-settings-update.outputs.updates) }}
update: ${{ needs.setup-settings-update.outputs.updates }}
# Example of this matrix:
# update:
# - deployment-environment: Gadi
Expand Down
1 change: 0 additions & 1 deletion config/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@
}
}
}

0 comments on commit 5a94206

Please sign in to comment.