Skip to content

Commit

Permalink
sanitizer: git build
Browse files Browse the repository at this point in the history
  • Loading branch information
Batorian committed Jul 6, 2024
1 parent 4066c34 commit af78dd5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- master
workflow_dispatch:
jobs:
build-android:
name: Build App
Expand All @@ -25,7 +26,7 @@ jobs:
key: ${{ runner.os }}-cache-npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-cache-npm-
- name: Install Dependencies
run: |
npm install
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
sed -i 's/LNReader/LNReader-r${{ env.COMMIT_COUNT }}(${{ env.COMMIT_ID }})/g' android/app/src/main/res/values/strings.xml
cd android && ./gradlew assembleRelease --no-daemon -PcustomAppId=com.rajarsheechatterjee.LNReader.commit_${{ env.COMMIT_ID }}
mv app/build/outputs/apk/release/app-release.apk app/build/outputs/apk/release/LNReader-r${{ env.COMMIT_COUNT }}\(${{ env.COMMIT_ID }}\)-customID.apk
- name: Upload Custom APK
env:
COMMIT_COUNT: ${{ env.COMMIT_COUNT }}
Expand Down

0 comments on commit af78dd5

Please sign in to comment.