Create hianime-build.yml
This commit is contained in:
parent
1aa0084dd9
commit
8ae130841e
1 changed files with 33 additions and 0 deletions
33
.github/workflows/hianime-build.yml
vendored
Normal file
33
.github/workflows/hianime-build.yml
vendored
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
name: Build and Push Hianime APK to apk-builds
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- Hianime-fix
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout source branch
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Set up JDK
|
||||||
|
uses: actions/setup-java@v3
|
||||||
|
with:
|
||||||
|
distribution: 'temurin'
|
||||||
|
java-version: '17'
|
||||||
|
|
||||||
|
- name: Grant permission to Gradle
|
||||||
|
run: chmod +x ./gradlew
|
||||||
|
|
||||||
|
- name: Build Hianime APK
|
||||||
|
run: ./gradlew :src:en:zoro:assembleDebug
|
||||||
|
|
||||||
|
- name: Copy APK to temporary folder
|
||||||
|
run: |
|
||||||
|
mkdir -p out/apk/Hianime
|
||||||
|
cp src/en/zoro/build/outputs/apk/debug/*.apk out/apk/Hianime/
|
||||||
|
|
||||||
|
- name: Push APK to apk
|
Loading…
Add table
Add a link
Reference in a new issue