Skip to content

Commit

Permalink
.github: Add workflow for building APK
Browse files Browse the repository at this point in the history
Change-Id: Ic1ee21466a59964a58b896189e935b3a12348a54
Signed-off-by: Kizziama <[email protected]>
  • Loading branch information
bengris32 authored and ramaadni committed Jul 17, 2024
1 parent d2b2e61 commit ff3a237
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Build APK

env:
APKTOOL_VER: 2.6.1

on:
push:
branches:
- master

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

- uses: actions/setup-java@v3
with:
distribution: 'adopt-hotspot'
java-version: '8'

- 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/QtiTelephony.apk

0 comments on commit ff3a237

Please sign in to comment.