Update hianime-build.yml

This commit is contained in:
Arkai1 2025-04-16 18:15:52 +05:30 committed by GitHub
parent 8ae130841e
commit 334745ef2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -25,9 +25,19 @@ jobs:
- name: Build Hianime APK
run: ./gradlew :src:en:zoro:assembleDebug
- name: Copy APK to temporary folder
- name: Copy APK to output folder
run: |
mkdir -p out/apk/Hianime
cp src/en/zoro/build/outputs/apk/debug/*.apk out/apk/Hianime/
- name: Push APK to apk
- name: Push APK to apk-builds branch
run: |
cd out
git init
git config user.name "GitHub Actions"
git config user.email "github-actions@users.noreply.github.com"
git add .
git commit -m "Update Hianime APK [CI build]"
git branch -M apk-builds
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
git push -f origin apk-builds