mirror of
https://github.com/PaiGramTeam/GetToken.git
synced 2024-11-22 06:57:54 +00:00
update actions/upload-artifact
This commit is contained in:
parent
44d0dc2d76
commit
95dcb5e919
7
.github/workflows/android.yml
vendored
7
.github/workflows/android.yml
vendored
@ -23,19 +23,18 @@ jobs:
|
|||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleRelease
|
run: ./gradlew assembleRelease
|
||||||
- name: Install jq
|
- run: sudo apt-get install -y jq
|
||||||
run: sudo apt-get install -y jq
|
|
||||||
- name: Download package
|
- name: Download package
|
||||||
run: "curl -H 'x-rpc-client_type: 2' -H 'x-rpc-app_version: 2.37.1' -H 'x-rpc-channel: miyousheluodi' https://api-takumi.mihoyo.com/ptolemaios/api/getLatestRelease | jq --raw-output '.data.package_url' | xargs curl -o origin.apk"
|
run: "curl -H 'x-rpc-client_type: 2' -H 'x-rpc-app_version: 2.37.1' -H 'x-rpc-channel: miyousheluodi' https://api-takumi.mihoyo.com/ptolemaios/api/getLatestRelease | jq --raw-output '.data.package_url' | xargs curl -o origin.apk"
|
||||||
- name: Patch package
|
- name: Patch package
|
||||||
run: "java -jar gradle/lspatch/jar-v0.5.1-361-release.jar -f -l 2 -m app/build/outputs/apk/release/app-release-unsigned.apk -o pout origin.apk"
|
run: "java -jar gradle/lspatch/jar-v0.5.1-361-release.jar -f -l 2 -m app/build/outputs/apk/release/app-release-unsigned.apk -o pout origin.apk"
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: Artifacts
|
name: Artifacts
|
||||||
path: app/build/outputs/apk/release/app-release-unsigned.apk
|
path: app/build/outputs/apk/release/app-release-unsigned.apk
|
||||||
- name: Upload patched package
|
- name: Upload patched package
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3.1.0
|
||||||
with:
|
with:
|
||||||
name: Artifacts
|
name: Artifacts
|
||||||
path: pout
|
path: pout
|
||||||
|
Loading…
Reference in New Issue
Block a user