Skip to content

Commit

Permalink
Fix issue with script adding quotes to the array
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Mar 26, 2024
1 parent 7dde8c6 commit 4e1b551
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ main() {
local origin_variants=$(_fetch_origin_tasks)
# merges the two list together. Use `include` keyword for later usage in matrix.
# for more info see https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#example-adding-configurations.
local merged_variants="{\"include\": [\"${atb_variants},${origin_variants}\"]}"
local merged_variants="{\"include\": [${atb_variants},${origin_variants}]}"
# write in GitHub output
echo "build-variants=${merged_variants}" >> "$GITHUB_OUTPUT"
}
Expand Down

0 comments on commit 4e1b551

Please sign in to comment.