fix: gradle is not found
This commit is contained in:
1 file changed
+6
-4
@@ -5,7 +5,7 @@
|
||||
# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-java-with-gradle
|
||||
|
||||
name: Java CI with Gradle
|
||||
name: Deploy to server
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@@ -29,11 +29,13 @@ jobs:
|
||||
|
||||
# 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
|
||||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
|
||||
- name: Setup Gradle 8.10
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
with:
|
||||
gradle-version: "8.10" # Quotes required to prevent YAML converting to number
|
||||
|
||||
- name: Build with Gradle Wrapper
|
||||
run: ./gradlew remapJar
|
||||
run: gradle remapJar
|
||||
- name: Install JQ
|
||||
uses: dcarbone/install-jq-action@v2.1.0
|
||||
- name: Upload Artifact
|
||||
|
||||
Reference in new issue
Block a user