Skip to content

Commit

Permalink
Fix CI issues: use the correct version of tycho (3.0.0) and the jdk (19)
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-nhg committed Dec 4, 2023
1 parent ba5a00d commit 9cb480b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ros-model CI
name: RosTooling CI

on: [push,pull_request]

Expand All @@ -10,8 +10,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
with:
path: ros-model
path: RosTooling
- name: Install jdk 19
run: sudo apt install -y openjdk-19-jre
- name: Set up Java
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '19'
- name: Debug
run: |
uname -a
mvn --version
java --version
- name: Build and test with Maven
run: |
pushd ros-model
pushd RosTooling
mvn clean verify -f plugins/de.fraunhofer.ipa.ros.parent/pom.xml
2 changes: 1 addition & 1 deletion plugins/de.fraunhofer.ipa.ros.feature/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- Tycho settings -->
<tycho-version>2.7.4</tycho-version>
<tycho-version>3.0.0</tycho-version>
<tycho.disableP2Mirrors>true</tycho.disableP2Mirrors>
<mwe2Version>2.14.0</mwe2Version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion plugins/de.fraunhofer.ipa.ros.parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<!-- Tycho settings -->
<tycho-version>2.7.4</tycho-version>
<tycho-version>3.0.0</tycho-version>
<tycho.disableP2Mirrors>true</tycho.disableP2Mirrors>
<mwe2Version>2.14.0</mwe2Version>
</properties>
Expand Down

0 comments on commit 9cb480b

Please sign in to comment.