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:
|
||||
push:
|
||||
branches: [ dev, master ]
|
||||
branches: [ dev ]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
@ -10,13 +10,13 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v3.5.3
|
||||
- name: Set up JDK 11
|
||||
uses: actions/setup-java@v3.12.0
|
||||
- uses: actions/checkout@v4.1.7
|
||||
- name: Set up JDK 17
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: 11
|
||||
java-version: 17
|
||||
distribution: liberica
|
||||
- name: execute build
|
||||
uses: gradle/gradle-build-action@v2.7.1
|
||||
uses: gradle/gradle-build-action@v3.4.2
|
||||
with:
|
||||
arguments: build
|
||||
|
Loading…
Reference in New Issue
Block a user