Use JDK 19 and simplify CI
Some checks failed
build-and-deploy / build-deploy (push) Has been cancelled
Some checks failed
build-and-deploy / build-deploy (push) Has been cancelled
This commit is contained in:
@@ -3,11 +3,9 @@ name: build-and-deploy
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ "master" ]
|
branches: [ "master" ]
|
||||||
pull_request:
|
|
||||||
branches: [ "master" ]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
@@ -21,8 +19,6 @@ jobs:
|
|||||||
java-version: "19"
|
java-version: "19"
|
||||||
cache: gradle
|
cache: gradle
|
||||||
|
|
||||||
- name: Build
|
|
||||||
run: ./gradlew build -x test --no-daemon --info --stacktrace
|
|
||||||
- name: Build (skip tests)
|
- name: Build (skip tests)
|
||||||
env:
|
env:
|
||||||
GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000"
|
GRADLE_OPTS: "-Dorg.gradle.internal.http.connectionTimeout=60000 -Dorg.gradle.internal.http.socketTimeout=60000"
|
||||||
|
|||||||
Reference in New Issue
Block a user