Refactor scanner presets, and add iran lion and sun flag

This commit is contained in:
Sarto
2026-04-15 15:04:11 +03:30
parent 7b65d605b8
commit 4111d5115a
12 changed files with 783 additions and 56 deletions
+8 -1
View File
@@ -42,6 +42,9 @@ jobs:
goarch: amd64
- goos: android
goarch: arm64
- goos: android
goarch: arm
goarm: '7'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
@@ -71,6 +74,7 @@ jobs:
env:
GOOS: ${{ matrix.goos }}
GOARCH: ${{ matrix.goarch }}
GOARM: ${{ matrix.goarm || '' }}
CGO_ENABLED: '0'
run: |
VERSION=${GITHUB_REF_NAME:-dev}
@@ -111,7 +115,11 @@ jobs:
- name: Stage Android client binary as JNI library
run: |
mkdir -p android/app/src/main/jniLibs/arm64-v8a
mkdir -p android/app/src/main/jniLibs/armeabi-v7a
test -f artifacts/thefeed-client-android-arm64
test -f artifacts/thefeed-client-android-arm
cp artifacts/thefeed-client-android-arm64 android/app/src/main/jniLibs/arm64-v8a/libthefeed.so
cp artifacts/thefeed-client-android-arm android/app/src/main/jniLibs/armeabi-v7a/libthefeed.so
- name: Decode signing keystore
env:
@@ -143,7 +151,6 @@ jobs:
gradle wrapper --gradle-version 8.10.2
if [ -f app/keystore.jks ]; then BT=release; TASK=assembleRelease; else BT=debug; TASK=assembleDebug; fi
cp ../artifacts/thefeed-client-android-arm64 app/src/main/jniLibs/arm64-v8a/libthefeed.so
./gradlew --no-daemon clean $TASK
APK=$(find app/build/outputs/apk/$BT -name "*.apk" | head -1)
cp "$APK" ../artifacts/thefeed-android-arm64.apk