mirror of
https://github.com/PaulReichmuth/timekeep-backend.git
synced 2025-12-22 22:41:59 +00:00
use gradle wrapper in workflow
This commit is contained in:
20
.github/workflows/gradle.yml
vendored
20
.github/workflows/gradle.yml
vendored
@@ -29,22 +29,22 @@ jobs:
|
|||||||
|
|
||||||
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
|
# Configure Gradle for optimal use in GitHub Actions, including caching of downloaded dependencies.
|
||||||
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
|
# See: https://github.com/gradle/actions/blob/main/setup-gradle/README.md
|
||||||
#- name: Setup Gradle
|
- name: Setup Gradle
|
||||||
# uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||||
|
|
||||||
#- name: Build with Gradle Wrapper
|
- name: Build with Gradle Wrapper
|
||||||
# run: ./gradlew build
|
run: ./gradlew build
|
||||||
|
|
||||||
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
# NOTE: The Gradle Wrapper is the default and recommended way to run Gradle (https://docs.gradle.org/current/userguide/gradle_wrapper.html).
|
||||||
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
# If your project does not have the Gradle Wrapper configured, you can use the following configuration to run Gradle with a specified version.
|
||||||
#
|
#
|
||||||
- name: Setup Gradle
|
#- name: Setup Gradle
|
||||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
# uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||||
with:
|
# with:
|
||||||
gradle-version: '9.1'
|
# gradle-version: '9.1'
|
||||||
#
|
#
|
||||||
- name: Build with Gradle 9.1
|
#- name: Build with Gradle 9.1
|
||||||
run: gradle build
|
# run: gradle build
|
||||||
|
|
||||||
dependency-submission:
|
dependency-submission:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user