Skip to content

Setup Node 16 before checkout #922

Setup Node 16 before checkout

Setup Node 16 before checkout #922

Workflow file for this run

name: Codegen
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
codegen:
runs-on: ${{ matrix.os }}
name: Java ${{ matrix.java }} ${{ matrix.os }}
strategy:
matrix:
java: [17]
os: [macos-latest, ubuntu-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'corretto'
- name: Log Kotlin version
run: |
which kotlin
kotlin -version
- name: Clean and Build
run: ./gradlew clean build -Plog-tests
- name: Ensure there are no changes after building (e.g. a test sdk)
run: |
git diff
test -z "$(git diff)"