Skip to content

Commit

Permalink
.github: Add workflow for building APK
Browse files Browse the repository at this point in the history
Change-Id: I0c15c75f620cfb7c89de877957a6c568b175669b
Signed-off-by: bengris32 <bengris32@protonmail.ch>
  • Loading branch information
bengris32 authored and ItsVixano committed Apr 17, 2024
1 parent 43a17bc commit 7ed2b9e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build_apk.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build APK

env:
APKTOOL_VER: 2.9.3

on:
push:

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

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

- uses: robinraju/release-downloader@v1.5
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/ims.apk
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
build/
dist/

0 comments on commit 7ed2b9e

Please sign in to comment.