Skip to content

Commit

Permalink
skip sign
Browse files Browse the repository at this point in the history
  • Loading branch information
UjuiUjuMandan committed Jan 11, 2025
1 parent 0a87543 commit 9a2f413
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,20 +134,13 @@ jobs:
- name: Setup Android environment
uses: android-actions/setup-android@v3

- name: Decode Keystore
uses: timheuer/base64-to-file@v1
id: android_keystore
with:
fileName: "android_keystore.jks"
encodedString: ${{ secrets.APP_KEYSTORE_BASE64 }}

- name: Build APK
run: |
cd ${{ github.workspace }}/V2rayNG
sed -i -e 's/isUniversalApk.*/isUniversalApk = false/' app/build.gradle.kts
chmod 755 gradlew
./gradlew licenseFdroidReleaseReport
./gradlew assembleRelease -PABI_FILTERS=${{ matrix.abi }} -Pandroid.injected.signing.store.file=${{ steps.android_keystore.outputs.filePath }} -Pandroid.injected.signing.store.password=${{ secrets.APP_KEYSTORE_PASSWORD }} -Pandroid.injected.signing.key.alias=${{ secrets.APP_KEYSTORE_ALIAS }} -Pandroid.injected.signing.key.password=${{ secrets.APP_KEY_PASSWORD }}
./gradlew assembleFdroidRelease -PABI_FILTERS=${{ matrix.abi }}
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}

Expand All @@ -162,7 +155,7 @@ jobs:
uses: svenstaro/upload-release-action@v2
if: github.event.inputs.release_tag != ''
with:
file: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*playstore*/release/*.apk
file: ${{ github.workspace }}/V2rayNG/app/build/outputs/apk/*fdroid*/release/*.apk
tag: ${{ github.event.inputs.release_tag }}
file_glob: true
prerelease: true

0 comments on commit 9a2f413

Please sign in to comment.