Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
klzgrad committed Jan 14, 2024
1 parent a716d0e commit b3580bb
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,13 @@ jobs:
- name: Create APK
working-directory: apk
run: |
export APK_ABI=${{ matrix.abi }}
APK_ABI=${{ matrix.abi }}
APK_VERSION_NAME=${{ github.event.release.tag_name }}
export APK_VERSION_NAME=${APK_VERSION_NAME#v}
APK_VERSION_NAME=${APK_VERSION_NAME#v}
mkdir -p app/libs/$APK_ABI
cp ../src/out/Release/naive app/libs/$APK_ABI/libnaive.so
KEYSTORE_PASS=${{ secrets.KEYSTORE_PASS }} ./gradlew :apk:app:assembleRelease
env
KEYSTORE_PASS=${{ secrets.KEYSTORE_PASS }} APK_VERSION_NAME=$APK_VERSION_NAME APK_ABI=$APK_ABI ./gradlew :apk:app:assembleRelease
APK_NAME=naiveproxy-plugin-$APK_VERSION_NAME-$APK_ABI.apk
mv app/build/outputs/apk/release/$APK_NAME .
Expand All @@ -246,6 +247,10 @@ jobs:
with:
name: ${{ env.APK_NAME }} sha256 ${{ env.SHA256SUM }}
path: apk/sha256sum.txt
- uses: actions/upload-artifact@v3
with:
name: ${{ env.APK_NAME }}
path: apk/${{ env.APK_NAME }}
- name: Upload naiveproxy assets
if: ${{ github.event_name == 'release' }}
working-directory: apk
Expand Down

0 comments on commit b3580bb

Please sign in to comment.