Skip to content

Commit

Permalink
ImsService: Add workflow to rebuild APK
Browse files Browse the repository at this point in the history
Change-Id: If0f4df5d5eb0ac6809b7e932825f7c9aa444064f
Signed-off-by: Sushrut1101 <[email protected]>
  • Loading branch information
Sushrut1101 committed Mar 5, 2024
1 parent cfdf2f3 commit a06bccc
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

env:
APKTOOL_VER: 2.9.3

on:
push:
workflow_dispatch:

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

- uses: actions/setup-java@v4
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'

- name: Build ImsService
run: |
java -jar apktool_${{ env.APKTOOL_VER }}.jar b .
sha1sum dist/* | sed 's|dist/||g' | tee dist/sha1.txt
- uses: actions/upload-artifact@v3
with:
name: APK
path: dist

0 comments on commit a06bccc

Please sign in to comment.