-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.github: Add workflow for building the APK
Signed-off-by: Sushrut1101 <[email protected]>
- Loading branch information
1 parent
f6e6ddc
commit 80b406d
Showing
1 changed file
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build the APK | ||
|
||
env: | ||
APKTOOL_VER: 2.7.0 | ||
|
||
on: | ||
push: | ||
workflow_dispatch: | ||
|
||
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/ImsService.apk |