Skip to content

Bump kotlin.version from 1.9.24 to 2.1.0 in /examples/simple-kotlin #1313

Bump kotlin.version from 1.9.24 to 2.1.0 in /examples/simple-kotlin

Bump kotlin.version from 1.9.24 to 2.1.0 in /examples/simple-kotlin #1313

Workflow file for this run

name: build
on: [push, pull_request, workflow_dispatch]
jobs:
build:
strategy:
fail-fast: false
matrix:
java: [8, 11, 17, 21]
name: Build with Java ${{ matrix.java }}
runs-on: ubuntu-22.04
steps:
- name: Checkout the Git repository
uses: actions/[email protected]
- name: Setup Java
uses: actions/[email protected]
with:
distribution: temurin
java-version: ${{ matrix.java }}
cache: maven
- name: Build the project
run: mvn -B clean install
- name: Get the project version
run: echo PROJECT_VERSION=$(mvn -B -Dexpression=project.version -DforceStdout -q help:evaluate) >>$GITHUB_ENV
- name: Build the "examples/simple-java" project
run: mvn -B -Dyaml-resource-bundle.version=${{ env.PROJECT_VERSION }} clean install
working-directory: examples/simple-java
- name: Build the "examples/simple-kotlin" project
run: mvn -B -Dyaml-resource-bundle.version=${{ env.PROJECT_VERSION }} clean install
working-directory: examples/simple-kotlin
- name: Upload the coverage report to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}