Skip to content

Commit

Permalink
fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
SciLor committed Aug 14, 2024
1 parent 54033c4 commit 826654e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_docker_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
workflows=$(find .github/workflows -name 'publish_docker_matrix_*.yml' -exec basename {} \;)
echo "Found workflows: $workflows"
# Convert to JSON array
matrix_json=$(echo "[\"$(echo $workflows | tr ' ' '\n' | sed 's/$/\",/' | tr -d '\n' | sed 's/,$//')\"]")
matrix_json=$(echo "$workflows" | tr ' ' '\n' | sed -e 's/^/"/' -e 's/$/"/' -e 's/\n/","/g' -e 's/","$//' -e 's/^/[/;s/$/]/')
echo "matrix_json=$matrix_json" >> $GITHUB_ENV
- name: Trigger Workflows
Expand Down

0 comments on commit 826654e

Please sign in to comment.