Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bash to build json arrays and drop unmaintained action #896

Merged
merged 2 commits into from
Feb 16, 2024

Conversation

klutchell
Copy link
Contributor

Change-type: patch
See: #878

@klutchell klutchell force-pushed the kyle/json-array-builder branch 4 times, most recently from 851e361 to 410aad5 Compare February 16, 2024 15:16
Change-type: patch
Signed-off-by: Kyle Harding <[email protected]>
@klutchell klutchell force-pushed the kyle/json-array-builder branch 2 times, most recently from e7e6385 to 22f5ffd Compare February 16, 2024 16:08
@flowzone-app flowzone-app bot enabled auto-merge February 16, 2024 16:14
@klutchell klutchell requested a review from Page- February 16, 2024 16:24
This is for compatibility with existing matrix definitions
that do not handle empty arrays as we would hope.

Signed-off-by: Kyle Harding <[email protected]>
@klutchell klutchell force-pushed the kyle/json-array-builder branch from 22f5ffd to 804475d Compare February 16, 2024 16:27
set -x

# Remove spaces and newlines from the input
INPUT="$(echo "${INPUT}" | tr -d '[:space:]')"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is deleting all spaces, not just those around the quoted elements, but it's also not new to this PR

@flowzone-app flowzone-app bot merged commit 7d66b59 into master Feb 16, 2024
50 checks passed
@flowzone-app flowzone-app bot deleted the kyle/json-array-builder branch February 16, 2024 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants