Skip to content

Commit

Permalink
IMS: Add workflow to rebuild blobs
Browse files Browse the repository at this point in the history
Change-Id: I65761fea46e6d4129a1a981c3b38890b2939782e
Signed-off-by: Sushrut1101 <guptasushrut@gmail.com>
  • Loading branch information
Sushrut1101 committed Feb 18, 2024
1 parent 5aeb0a7 commit 9bd7d79
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
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@v3
with:
distribution: 'adopt-hotspot'
java-version: '8'

- uses: robinraju/release-downloader@v1.8
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 ImsService
- name: Build mediatek-telephony-base
run: |
java -jar apktool_${{ env.APKTOOL_VER }}.jar b mediatek-telephony-base
- name: Prepare Artifacts
run: |
mkdir -p out
cp ImsService/dist/ImsService.apk out/
cp mediatek-telephony-base/dist/mediatek-telephony-base.jar out/
- uses: actions/upload-artifact@v3
with:
name: Artifacts
path: out

0 comments on commit 9bd7d79

Please sign in to comment.