Skip to content

Update ci.yml

Update ci.yml #4

Workflow file for this run

name: CI
on:
workflow_dispatch: {}
push:
branches:
- master
- beta
- 'sdk-release/**'
- 'feature/**'
- development
tags:
- 'v[0-9]+.[0-9]+.[0-9]+*'
pull_request:
branches:
- master
- beta
- 'sdk-release/**'
- 'feature/**'
- development
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java
id: setup-jre
uses: actions/setup-java@v4
with:
java-version: "17" # always use 17 LTS for building
distribution: zulu
architecture: x64
- name: Set Test Java Runtime Environment variable
run: echo "JAVA_TEST_HOME=${{ steps.setup-jre.outputs.path }}" >> $GITHUB_ENV
- name: Install dependencies
run: mvn clean install -DskipTests
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
distribution: zulu

Check failure on line 50 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / CI

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 50, Col: 23): Unexpected value 'zulu'
java-version:
- "1.8"
- "11"
- "17"
- "18"
- "19"
- "20"
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Test Java Runtime
id: setup-test-jre
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: zulu
architecture: x64
- name: Set Test Java Runtime Environment variable
run: echo "JAVA_TEST_HOME=${{ steps.setup-test-jre.outputs.path }}" >> $GITHUB_ENV
- name: Display version
run: echo "JAVA_TEST_HOME=$JAVA_TEST_HOME"
- name: Run test suite
run: mvn test