Skip to content

Commit

Permalink
.github: Add workflow for building APK
Browse files Browse the repository at this point in the history
  • Loading branch information
bengris32 authored and R0rt1z2 committed Sep 23, 2024
1 parent 182e254 commit 85ad5f0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build_apk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build APK

env:
APKTOOL_VER: 2.7.0

on:
push:
branches:
- ANE-9.1.0.401

jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3

- uses: actions/setup-java@v3
with:
distribution: 'semeru'
java-version: '11'

- name: Install aapt2
run: sudo apt-get update && sudo apt-get install -y aapt

- uses: robinraju/[email protected]
with:
repository: 'iBotPeaches/Apktool'
tag: 'v${{ env.APKTOOL_VER }}'
fileName: 'apktool_${{ env.APKTOOL_VER }}.jar'

- run: java -jar apktool_${{ env.APKTOOL_VER }}.jar b .

- uses: actions/upload-artifact@v3
with:
name: APK
path: dist/hwEmui.jar

0 comments on commit 85ad5f0

Please sign in to comment.