build.yml

This commit is contained in:
klzgrad 2024-10-06 17:41:56 +08:00
parent 7aa2f58ed8
commit 4343df2acb

View File

@ -179,7 +179,7 @@ jobs:
abi: armeabi-v7a abi: armeabi-v7a
env: env:
EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}" target_os="android"' EXTRA_FLAGS: 'target_cpu="${{ matrix.arch }}" target_os="android"'
BUNDLE: naiveproxy-plugin-${{ github.event.release.tag_name || 'v0.0.0.0-0' }}-${{ matrix.abi }}.apk BUNDLE: naiveproxy-plugin-${{ github.event.release.tag_name || 'v1.1.1.1-1' }}-${{ matrix.abi }}.apk
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-java@v4 - uses: actions/setup-java@v4
@ -240,7 +240,7 @@ jobs:
working-directory: apk working-directory: apk
env: env:
APK_ABI: ${{ matrix.abi }} APK_ABI: ${{ matrix.abi }}
APK_VERSION_NAME: ${{ github.event.release.tag_name || 'v0.0.0.0-0' }} APK_VERSION_NAME: ${{ github.event.release.tag_name || 'v1.1.1.1-1' }}
KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }} KEYSTORE_PASS: ${{ secrets.KEYSTORE_PASS }}
run: | run: |
mkdir -p app/libs/$APK_ABI mkdir -p app/libs/$APK_ABI