Update build.yml
This commit is contained in:
parent
234d4715b6
commit
390a896e0a
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@ -2,7 +2,7 @@ name: Gradle build
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ dev, master ]
|
branches: [ dev ]
|
||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
@ -10,13 +10,13 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
timeout-minutes: 30
|
timeout-minutes: 30
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3.5.3
|
- uses: actions/checkout@v4.1.7
|
||||||
- name: Set up JDK 11
|
- name: Set up JDK 17
|
||||||
uses: actions/setup-java@v3.12.0
|
uses: actions/setup-java@v4.2.1
|
||||||
with:
|
with:
|
||||||
java-version: 11
|
java-version: 17
|
||||||
distribution: liberica
|
distribution: liberica
|
||||||
- name: execute build
|
- name: execute build
|
||||||
uses: gradle/gradle-build-action@v2.7.1
|
uses: gradle/gradle-build-action@v3.4.2
|
||||||
with:
|
with:
|
||||||
arguments: build
|
arguments: build
|
||||||
|
Loading…
Reference in New Issue
Block a user