Skip to content

Feature/ab#1128 migrate sae input from database to redis #13

Feature/ab#1128 migrate sae input from database to redis

Feature/ab#1128 migrate sae input from database to redis #13

Workflow file for this run

name: PR Build
# PR build
on:
pull_request:
branches: [ main, versionupgrade ]
workflow_dispatch:
# just runs Maven and Docker build
jobs:
build:
name: "PR build"
runs-on: [self-hosted, linux, X64]
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 21
- name: Set up Maven
uses: stCarolas/[email protected]
with:
maven-version: 3.9.2
- uses: s4u/[email protected]
with:
repositories: |
[{
"id": "visionapi",
"name": "vision-api",
"url": "https://maven.pkg.github.com/starwit/vision-api",
"snapshots": {"enabled": true}
},{
"id": "visionlib",
"name": "vision-lib",
"url": "https://maven.pkg.github.com/starwit/vision-lib",
"snapshots": {"enabled": true}
}]
servers: |
[{
"id": "visionapi",
"username": "flonix8",
"password": "${{ secrets.VISION_MAVEN_READ_TOKEN }}"
},{
"id": "visionlib",
"username": "flonix8",
"password": "${{ secrets.VISION_MAVEN_READ_TOKEN }}"
}]
- name: get version from pom.xml
run: |
echo "VERSION=$( mvn help:evaluate -Dexpression=project.version -q -DforceStdout )" >> $GITHUB_ENV
- name: Build with Maven
run: mvn clean -B package --file pom.xml
env:
CI: false
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3