Skip to content

Commit

Permalink
Merge pull request #27 from INTO-CPS-Association/add-serializeFMUstat…
Browse files Browse the repository at this point in the history
…e-to-fmi2

Add serialize fm ustate to fmi2
  • Loading branch information
lausdahl authored Aug 15, 2024
2 parents 4025905 + 6620354 commit 213ba42
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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' )
Expand All @@ -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

2 changes: 1 addition & 1 deletion jnifmuapi/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.26.0</version>
<version>1.3</version>
</dependency>

<!-- https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 -->
Expand Down

0 comments on commit 213ba42

Please sign in to comment.