From 035ea06b3bc620b81cee51888047da233df2237a Mon Sep 17 00:00:00 2001 From: Emmanuel Bourg Date: Fri, 22 Dec 2023 10:15:18 +0100 Subject: [PATCH] Archive the CI artifacts --- .github/workflows/build.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 93bb598e..49f8708d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,6 +40,23 @@ jobs: - name: Packaging run: mvn -B package -DskipTests + - name: Archive artifacts + if: ${{ matrix.java == '8' }} + uses: actions/upload-artifact@v3 + with: + name: jsign-artifacts + path: | + jsign/target/jsign-*.jar + !jsign/target/jsign-*-javadoc.jar + !jsign/target/jsign-*-sources.jar + !jsign/target/jsign-*_proguard_base.jar + jsign/target/*.deb + jsign/target/*.rpm + jsign-core/target/jsign-core-*.jar + !jsign-core/target/jsign-core-*-javadoc.jar + !jsign-core/target/jsign-core-*-sources.jar + !jsign-core/target/jsign-core-*-tests.jar + - name: Coverage report if: ${{ matrix.java == '17' }} run: mvn -B clean test jacoco:report-aggregate coveralls:report -DjacocoReports=jsign/target/site/jacoco-aggregate/jacoco.xml -DrepoToken=${{ secrets.COVERALLS_TOKEN }} || true