From 7f3d400c9c4733c2b465badb0b90b7fc6ade8a7b Mon Sep 17 00:00:00 2001 From: Abel Salgado Romero Date: Fri, 9 Feb 2024 20:05:51 +0100 Subject: [PATCH] Fix signature validation in CI * Remove invalid paths from 'Collect artifact' step * Fix asciidoctor-maven-plugin path --- .github/workflows/build.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d7475f12..3a4eeb07 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -122,8 +122,7 @@ jobs: - name: Collect artifacts run: | mkdir -p $ARTIFACTS_DIR - cp -r $HOME/.m2/repository/org/asciidoctor/asciidoctor-maven-* $ARTIFACTS_DIR - cp -r $HOME/.m2/repository/org/asciidoctor/*-doxia-module $ARTIFACTS_DIR + cp -r $HOME/.m2/repository/org/asciidoctor/asciidoctor-maven-plugin/ $ARTIFACTS_DIR - name: Verify JAR signatures run: find $ARTIFACTS_DIR -type f -name "*.jar" -exec gpg --verify "{}.asc" \; - name: Upload artifacts