Empty jar workaround #115
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Compatibility Test | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- '**' | |
- '!website/**' | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- '**' | |
- '!website/**' | |
jobs: | |
compatibility: | |
strategy: | |
matrix: | |
version: ['kotlin-1.9.24', 'kotlin-2.0.0', 'kotlin-2.0.20', 'java'] | |
name: Compatibility | |
permissions: | |
pull-requests: read | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
cache: 'gradle' | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v3 | |
- name: Publish to Maven Local | |
run: ./gradlew publishToMavenLocal | |
- name: Compatibility Test | |
working-directory: test/${{ matrix.version }} | |
run: ./gradlew build --info |