Perform merge build only on JVM
This commit is contained in:
parent
e24463c58b
commit
fb0d016aa8
28
.github/workflows/build.yml
vendored
28
.github/workflows/build.yml
vendored
@ -7,26 +7,18 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
strategy:
|
runs-on: windows-latest
|
||||||
matrix:
|
timeout-minutes: 20
|
||||||
os: [ macOS-latest, windows-latest ]
|
|
||||||
runs-on: ${{matrix.os}}
|
|
||||||
timeout-minutes: 40
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.0.0
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-java@v3.0.0
|
- uses: actions/setup-java@v3.5.1
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: '11'
|
||||||
distribution: liberica
|
distribution: 'liberica'
|
||||||
- name: Cache konan
|
cache: 'gradle'
|
||||||
uses: actions/cache@v3.0.1
|
|
||||||
with:
|
|
||||||
path: ~/.konan
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
- name: Gradle Wrapper Validation
|
- name: Gradle Wrapper Validation
|
||||||
uses: gradle/wrapper-validation-action@v1.0.4
|
uses: gradle/wrapper-validation-action@v1.0.4
|
||||||
- uses: gradle/gradle-build-action@v2.1.5
|
- name: Gradle Build
|
||||||
|
uses: gradle/gradle-build-action@v2.3.2
|
||||||
with:
|
with:
|
||||||
arguments: build
|
arguments: test jvmTest
|
||||||
|
Loading…
Reference in New Issue
Block a user