Skip to content

Commit

Permalink
Update Gradle action
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretOnline committed Dec 20, 2024
1 parent 8d441c1 commit 4d2db95
Showing 2 changed files with 4 additions and 10 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -19,8 +19,8 @@ jobs:
- name: Ensure Gradle wrapper is executable
run: chmod +x ./gradlew

- name: Validate Gradle
uses: gradle/wrapper-validation-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Get Minecraft version
id: get-minecraft-version
@@ -38,9 +38,6 @@ jobs:
java-version: ${{ steps.get-minecraft-version.outputs.java-version }}
distribution: "zulu"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Build
run: ./gradlew clean build

7 changes: 2 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -27,8 +27,8 @@ jobs:
- name: Ensure Gradle wrapper is executable
run: chmod +x ./gradlew

- name: Validate Gradle
uses: gradle/wrapper-validation-action@v3
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4

- name: Get Data
id: get-data
@@ -51,9 +51,6 @@ jobs:
java-version: ${{ steps.get-data.outputs.java-version }}
distribution: "zulu"

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3

- name: Get deploy info
id: deploy-info
run: |

0 comments on commit 4d2db95

Please sign in to comment.