diff --git a/.github/workflows/build.ci.yml b/.github/workflows/build.ci.yml index 7f9b6b19..bd18d67b 100644 --- a/.github/workflows/build.ci.yml +++ b/.github/workflows/build.ci.yml @@ -158,6 +158,7 @@ jobs: wget $VERAPDFURL -O $VERAPDFPATH/$VERAPDFZIPFILENAME unzip -j $VERAPDFPATH/$VERAPDFZIPFILENAME -d $VERAPDFPATH rm -f $VERAPDFPATH/$VERAPDFZIPFILENAME + echo "Creating veraPDF install config" echo " @@ -173,6 +174,7 @@ jobs: " > $VERAPDFPATH/install.xml + echo "Installing veraPDF" VERAPDFINSTALLJAR=$(find $VERAPDFPATH -type f -name "*.jar" | head -n 1); [[ -z "$VERAPDFINSTALLJAR" ]] && { echo "No veraPDF installer found" >&2; exit 1; } || echo "veraPDF installer fount at $VERAPDFINSTALLJAR" java -jar $VERAPDFINSTALLJAR $VERAPDFPATH/install.xml echo "Creating test PDF" @@ -182,6 +184,8 @@ jobs: echo "Result of validation" echo $VERAPDFRESULT [[ $VERAPDFRESULT == PASS* ]] && echo "PDF validation passed" || { echo "Error: PDF validation not passed" >&2; exit 1; } + echo "Removing veraPDF" + rm -rf $VERAPDFPATH - name: Publish Unit Test Results uses: EnricoMi/publish-unit-test-result-action@v2