Skip to content

Java version 0.3.0: Update vision-api to 3.0.0 #21

Java version 0.3.0: Update vision-api to 3.0.0

Java version 0.3.0: Update vision-api to 3.0.0 #21

name: Java CI
on: [push]
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'temurin'
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.6
- uses: s4u/[email protected]
with:
repositories: |
[{
"id": "visionapi",
"name": "vision-api",
"url": "https://maven.pkg.github.com/starwit/vision-api",
"snapshots": {"enabled": true}
}]
servers: |
[{
"id": "visionapi",
"username": "flonix8",
"password": "${{ secrets.VISION_API_READ_TOKEN }}"
}]
- name: Build with Maven
working-directory: java
run: mvn --batch-mode deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}