File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,33 +15,34 @@ jobs:
1515 SIGNING_KEY_PASSWORD : ${{ secrets.SIGNING_KEY_PASSWORD }}
1616 steps :
1717 - name : Checkout repository
18- uses : actions/checkout@v5
18+ uses : actions/checkout@v7
1919 - name : Set up JDK 21
20- uses : actions/setup-java@v5
20+ uses : actions/setup-java@v6
2121 with :
2222 java-version : ' 21'
2323 distribution : ' zulu'
2424 - name : Set up Gradle
25- uses : gradle/actions/setup-gradle@v5
26- - name : Grant execute permission for gradlew
27- run : chmod +x gradlew
25+ uses : gradle/actions/setup-gradle@v6
26+ with :
27+ cache-read-only : false
2828 - name : Build with Gradle
2929 run : ./gradlew assembleRelease
30- - name : Install jq
31- run : sudo apt-get install -y jq
3230 - name : Download package
3331 run : |
3432 chmod +x .github/download.sh
3533 bash .github/download.sh
3634 - name : Patch package
37- run : " mkdir out && mv app/build/outputs/apk/release/app-release.apk . && java -jar gradle/lspatch/jar-v0.7.jar -f -l 2 -m app-release.apk -o out miyoushe.apk && mv app-release.apk out"
35+ run : |
36+ mkdir out && mv app/build/outputs/apk/release/app-release.apk .
37+ java -jar gradle/lspatch/jar-v1.2.jar -f -l 2 -m app-release.apk -o out -k .github/signkey.jks ${{ secrets.SIGNING_KEY_PASSWORD }} ${{ secrets.SIGNING_KEY_ALIAS }} ${{ secrets.SIGNING_KEY_PASSWORD }} miyoushe.apk
38+ mv app-release.apk out
3839 - name : Upload build artifacts
39- uses : actions/upload-artifact@v4
40+ uses : actions/upload-artifact@v7
4041 with :
4142 name : Artifacts
4243 path : out
4344 - name : Set up Python
44- uses : actions/setup-python@v6
45+ uses : actions/setup-python@v7
4546 with :
4647 python-version : 3.12
4748 - name : Send to Telegram
You can’t perform that action at this time.
0 commit comments