diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index adfe659..b12c3f6 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -154,6 +154,13 @@ jobs: with: name: lib path: jnifmuapi/target/classes/lib + + - name: Download all workflow run test artifacts + uses: actions/download-artifact@v2 + with: + name: lib-test-fmus + path: jnifmuapi/target/fmus + - name: Set up Java x64 if: matrix.platform == 'x64' uses: actions/setup-java@v1 @@ -182,7 +189,7 @@ jobs: run: mvn validate dependency:resolve-plugins -B --quiet - name: Maven Build Final - run: mvn -B package --file pom.xml -Dmaven.test.skip=true + run: mvn -B package --file pom.xml -Dmaven.test.skip=true -Pmake # - name: Maven Deploy # if: github.event_name == 'push' && (github.ref != 'refs/heads/development' && github.ref != 'refs/heads/master' ) @@ -208,5 +215,11 @@ jobs: fmi2/target/fmi2-*-SNAPSHOT.jar retention-days: 5 - + - name: upload test fmus + uses: actions/upload-artifact@v2 + with: + name: test-fmus + path: | + jnifmuapi/target/fmus/**/*.fmu + retention-days: 5 diff --git a/jnifmuapi/pom.xml b/jnifmuapi/pom.xml index 1eb00c3..ae09414 100644 --- a/jnifmuapi/pom.xml +++ b/jnifmuapi/pom.xml @@ -96,7 +96,7 @@ org.apache.commons commons-compress - 1.26.0 + 1.3