Update build.yml

This commit is contained in:
SPC-code 2024-06-19 18:19:10 +03:00 committed by GitHub
parent 234d4715b6
commit 390a896e0a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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