From 39739a7edd56889653b4fa5083354d83abf5dee0 Mon Sep 17 00:00:00 2001 From: Robin Leroy Date: Wed, 5 Jun 2024 21:03:24 +0200 Subject: [PATCH] someday I will learn bash syntax --- .github/workflows/cli-build-instructions.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cli-build-instructions.yml b/.github/workflows/cli-build-instructions.yml index 84e5be898..38e2d2ccf 100644 --- a/.github/workflows/cli-build-instructions.yml +++ b/.github/workflows/cli-build-instructions.yml @@ -289,7 +289,7 @@ jobs: sed 's/^\([^;]*;[^;]*\);.*$/\1/' unicodetools/mine/src/unicodetools/data/ucd/dev/UnicodeData.txt > merged-repertoire.txt sed 's/^\([^;]*;[^;]*\);.*$/\1/' base/unicodetools/data/ucd/dev/UnicodeData.txt > base-repertoire.txt diff base-repertoire.txt merged-repertoire.txt - REPERTOIRE_CHANGED = $? + echo "REPERTOIRE_CHANGED=$?" >> "$GITHUB_ENV" - name: Get the CLDR_REF from pom.xml id: cldr_ref run: echo "CLDR_REF="$(mvn --file unicodetools/mine/src/pom.xml help:evaluate -Dexpression=cldr.version -q -DforceStdout | cut -d- -f3) >> $GITHUB_OUTPUT && cat ${GITHUB_OUTPUT} @@ -407,8 +407,8 @@ jobs: run: | cd unicodetools/mine/src if $REPERTOIRE_CHANGED - then $ERROR = "::error" - else $ERROR = "::notice" + then ERROR="::error" + else ERROR="::notice" fi MAVEN_OPTS="-ea" mvn -s .github/workflows/mvn-settings.xml test -am -pl unicodetools -Dtest=TestTestUnicodeInvariants#testSecurityInvariants -DCLDR_DIR=$(cd ../../../cldr/mine/src ; pwd) -DUNICODETOOLS_GEN_DIR=$(cd ../Generated ; pwd) -DUNICODETOOLS_REPO_DIR=$(pwd) -DUVERSION=$CURRENT_UVERSION -DfailIfNoTests=false -DEMIT_GITHUB_ERRORS | sed "s/^::error/$ERROR/" if $REPERTOIRE_CHANGED