forked from kscience/visionforge
Update build.yml
This commit is contained in:
parent
faeefe8572
commit
e70ef813de
17
.github/workflows/build.yml
vendored
17
.github/workflows/build.yml
vendored
@ -7,16 +7,15 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-20.04
|
||||||
timeout-minutes: 40
|
timeout-minutes: 40
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: DeLaGuardo/setup-graalvm@4.0
|
- name: Set up JDK 11
|
||||||
|
uses: actions/setup-java@v2.5.0
|
||||||
with:
|
with:
|
||||||
graalvm: 21.2.0
|
java-version: 11
|
||||||
java: java11
|
- uses: actions/cache@v2.1.7
|
||||||
arch: amd64
|
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
with:
|
||||||
path: |
|
path: |
|
||||||
~/.gradle/caches
|
~/.gradle/caches
|
||||||
@ -24,10 +23,4 @@ jobs:
|
|||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
- uses: actions/cache@v2
|
|
||||||
with:
|
|
||||||
path: ~/.konan
|
|
||||||
key: ${{ runner.os }}-gradle-${{ hashFiles('*.gradle.kts') }}
|
|
||||||
restore-keys: |
|
|
||||||
${{ runner.os }}-gradle-
|
|
||||||
- run: ./gradlew build --build-cache --no-daemon --stacktrace
|
- run: ./gradlew build --build-cache --no-daemon --stacktrace
|
||||||
|
Loading…
Reference in New Issue
Block a user