Skip to content

Commit

Permalink
Migrate to gradle/actions/setup-gradle@v4 (#293)
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored and wwqgtxx committed Sep 10, 2024
1 parent c82acb3 commit b661d94
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-debug.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
distribution: 'zulu'
java-version: 17

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

- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -50,10 +53,7 @@ jobs:

- name: Build
if: success()
uses: gradle/gradle-build-action@v3
with:
arguments: --no-daemon app:assembleMeta-AlphaRelease

run: ./gradlew --no-daemon app:assembleMeta-AlphaRelease

- name: Upload Aritfact (universal)
uses: actions/upload-artifact@v4
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ jobs:
distribution: 'zulu'
java-version: 17

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

- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -52,9 +55,7 @@ jobs:
- name: Pre-release Build
if: success()
uses: gradle/gradle-build-action@v3
with:
arguments: --no-daemon app:assembleMeta-AlphaRelease
run: ./gradlew --no-daemon app:assembleMeta-AlphaRelease

# Delete old Prerelease-alpha
- uses: dev-drprasad/[email protected]
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
distribution: 'zulu'
java-version: 17

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

- name: Setup Go
uses: actions/setup-go@v5
with:
Expand Down Expand Up @@ -90,9 +93,7 @@ jobs:
- name: Release Build
if: success()
uses: gradle/gradle-build-action@v3
with:
arguments: --no-daemon app:assembleMetaRelease
run: ./gradlew --no-daemon app:assembleMetaRelease

- name: Tag Repo
uses: richardsimko/update-tag@v1
Expand Down

0 comments on commit b661d94

Please sign in to comment.