Prepare universal workflow

This commit is contained in:
Alexey Pustovalov 2024-02-11 00:35:45 +09:00
parent 5c9d022ee4
commit d6c5a82ee7

View File

@ -87,7 +87,7 @@ jobs:
REDHAT_CERTIFY_CREDENTIALS: ${{ secrets.REDHAT_CERTIFY_CREDENTIALS }}
CURRENT_BRANCH: ${{ steps.branch_info.outputs.current_branch }}
run: |
component_list=$(jq --raw-output --argjson data "$REDHAT_CERTIFY_CREDENTIALS" -n '$data."$CURRENT_BRANCH".components | keys | [ .[] | tostring ] | @json')
component_list=$(jq --raw-output --argjson data "$REDHAT_CERTIFY_CREDENTIALS" -n "\$data.\"$CURRENT_BRANCH\".components | keys | @json")
echo "::group::Zabbix Component List"
echo "$component_list"