Fix OpenAPI workflow some more (#11779)

pull/11780/head
Niels van Velzen 6 months ago committed by GitHub
parent 624ad9cb98
commit 70e85cb6c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -103,13 +103,10 @@ jobs:
run: |
# Read and fix markdown
body=$(cat openapi-changes.md)
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"
# Write to workflow summary
echo $body >> $GITHUB_STEP_SUMMARY
# Set ApiChanged var
if [ $body != '' ]; then
if [ "$body" != '' ]; then
echo "ApiChanged=1" >> "$GITHUB_OUTPUT"
else
echo "ApiChanged=0" >> "$GITHUB_OUTPUT"

Loading…
Cancel
Save