Bump org.eclipse.basyx:basyx.sdk from 1.5.0 to 1.5.1 in /basyx.examples #221
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven | |
name: Java CI with Maven | |
on: | |
pull_request: | |
branches: [ development** ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
# Service containers to run with `container-job` | |
services: | |
keycloak: | |
# KeyCloak Docker Hub image | |
image: jboss/keycloak:16.1.1 | |
# Provide the username, password for KeyCloak | |
env: | |
KEYCLOAK_USER: admin | |
KEYCLOAK_PASSWORD: admin | |
# Maps tcp port 9006 on service container to the host | |
ports: | |
- 9006:8080 | |
steps: | |
- name: Checkout Examples | |
uses: actions/checkout@v4 | |
with: | |
path: main | |
- name: Checkout BaSyx Components - Development Branch | |
uses: actions/checkout@v4 | |
with: | |
repository: eclipse-basyx/basyx-java-components | |
path: components | |
ref: development | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: maven | |
- name: Check status of KeyCloak container | |
run: docker ps | grep jboss/keycloak | |
- name: Install BaSyx Components | |
run: | | |
mkdir -p ~/.m2 | |
echo "<settings><servers><server><id>Eclipse BaSyx SDK GitHub Packages</id><username>x-access-token</username><password>${GITHUB_TOKEN}</password></server></servers></settings>" > ~/.m2/settings.xml | |
mvn -B clean install --file components/basyx.components/pom.xml -DskipTests | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: Build Examples with Maven | |
run: mvn -B package --file main/basyx.examples/pom.xml | |
- name: Build AasWrapper with Maven | |
run: mvn -B package --file main/basyx.aasWrapper/pom.xml | |
- name: Build DashboardAas with Maven | |
run: mvn -B package --file main/basyx.dashboardAAS/pom.xml | |
- name: Build Hello_world with Maven | |
run: mvn -B package --file main/basyx.hello_world/pom.xml |