mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2024-11-25 06:46:09 +03:00
Migrate to gradle/actions/setup-gradle@v4 (#293)
https://github.com/gradle/actions/releases/tag/v4.0.0 https://github.com/gradle/actions/blob/main/setup-gradle/README.md
This commit is contained in:
parent
c82acb38d5
commit
b661d94278
8
.github/workflows/build-debug.yaml
vendored
8
.github/workflows/build-debug.yaml
vendored
@ -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
|
||||||
|
7
.github/workflows/build-pre-release.yaml
vendored
7
.github/workflows/build-pre-release.yaml
vendored
@ -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
|
||||||
|
7
.github/workflows/build-release.yaml
vendored
7
.github/workflows/build-release.yaml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user