Skip to content

Add distribution: jdk #676

Add distribution: jdk

Add distribution: jdk #676

Workflow file for this run

name: Java CI
on:
push:
branches:
- master
pull_request:
branches:
- master
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
distribution: jdk

Check failure on line 26 in .github/workflows/java-ci.yml

View workflow run for this annotation

GitHub Actions / Java CI

Invalid workflow file

The workflow is not valid. .github/workflows/java-ci.yml (Line: 26, Col: 9): Unexpected value 'distribution'
with:
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