Zongle Wang 2024-09-10 10:59:03 -04:00 committed by wwqgtxx
parent c82acb38d5
commit b661d94278
3 changed files with 12 additions and 10 deletions

View File

@ -20,6 +20,9 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -50,10 +53,7 @@ jobs:
- name: Build - name: Build
if: success() if: success()
uses: gradle/gradle-build-action@v3 run: ./gradlew --no-daemon app:assembleMeta-AlphaRelease
with:
arguments: --no-daemon app:assembleMeta-AlphaRelease
- name: Upload Aritfact (universal) - name: Upload Aritfact (universal)
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4

View File

@ -22,6 +22,9 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -52,9 +55,7 @@ jobs:
- name: Pre-release Build - name: Pre-release Build
if: success() if: success()
uses: gradle/gradle-build-action@v3 run: ./gradlew --no-daemon app:assembleMeta-AlphaRelease
with:
arguments: --no-daemon app:assembleMeta-AlphaRelease
# Delete old Prerelease-alpha # Delete old Prerelease-alpha
- uses: dev-drprasad/delete-tag-and-release@v1.1 - uses: dev-drprasad/delete-tag-and-release@v1.1

View File

@ -25,6 +25,9 @@ jobs:
distribution: 'zulu' distribution: 'zulu'
java-version: 17 java-version: 17
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
- name: Setup Go - name: Setup Go
uses: actions/setup-go@v5 uses: actions/setup-go@v5
with: with:
@ -90,9 +93,7 @@ jobs:
- name: Release Build - name: Release Build
if: success() if: success()
uses: gradle/gradle-build-action@v3 run: ./gradlew --no-daemon app:assembleMetaRelease
with:
arguments: --no-daemon app:assembleMetaRelease
- name: Tag Repo - name: Tag Repo
uses: richardsimko/update-tag@v1 uses: richardsimko/update-tag@v1