forked from ontodev/robot
-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (35 loc) · 790 Bytes
/
java-ci.yml
File metadata and controls
38 lines (35 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Java CI
on:
# push:
# branches:
# - master
# pull_request:
# branches:
# - master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
java: [11, 15, 17]
name: Java ${{ matrix.java }}
steps:
- uses: actions/checkout@v4
- name: Check Docs
run: ./util/check_docs.py
- name: Set up JDK
uses: actions/setup-java@v4
with:
distribution: zulu
java-version: ${{ matrix.java }}
- name: CI Test
run: mvn verify
- name: Upload Artifact
if: ${{ matrix.java == 11 }}
uses: actions/upload-artifact@v4
with:
name: robot.jar
path: bin/robot.jar
retention-days: 90