upgrade workflow

This commit is contained in:
Simplxs 2024-02-18 14:15:18 +08:00
parent b07ca5bd03
commit a5cdd64686
No known key found for this signature in database
GPG Key ID: E23537FF14DD6507

View File

@ -22,13 +22,13 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Setup JDK 17 - name: Setup JDK 17
uses: actions/setup-java@v4.0.0 uses: actions/setup-java@v4
with: with:
java-version: 17 java-version: 17
distribution: "adopt" distribution: "adopt"
- name: Cache Gradle Dependencies - name: Cache Gradle Dependencies
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: | path: |
~/.gradle/caches ~/.gradle/caches
@ -38,7 +38,7 @@ jobs:
restore-keys: gradle-deps restore-keys: gradle-deps
- name: Cache Gradle Build - name: Cache Gradle Build
uses: actions/cache@v3 uses: actions/cache@v4
with: with:
path: | path: |
~/.gradle/caches/build-cache-* ~/.gradle/caches/build-cache-*
@ -82,19 +82,19 @@ jobs:
echo "|x86_64|$x86_64" >> $GITHUB_STEP_SUMMARY echo "|x86_64|$x86_64" >> $GITHUB_STEP_SUMMARY
- name: Upload ALL APK RELEASE - name: Upload ALL APK RELEASE
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: "${{ env.SHAMROCK_VERSION_ALL }}" name: "${{ env.SHAMROCK_VERSION_ALL }}"
path: "${{ env.APK_FILE_ALL }}" path: "${{ env.APK_FILE_ALL }}"
- name: Upload ARM64 APK RELEASE - name: Upload ARM64 APK RELEASE
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: "${{ env.SHAMROCK_VERSION_ARM64 }}" name: "${{ env.SHAMROCK_VERSION_ARM64 }}"
path: "${{ env.APK_FILE_ARM64 }}" path: "${{ env.APK_FILE_ARM64 }}"
- name: Upload X86_64 APK RELEASE - name: Upload X86_64 APK RELEASE
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: "${{ env.SHAMROCK_VERSION_x86_64 }}" name: "${{ env.SHAMROCK_VERSION_x86_64 }}"
path: "${{ env.APK_FILE_X86_64 }}" path: "${{ env.APK_FILE_X86_64 }}"