mirror of
https://github.com/sartoopjj/thefeed.git
synced 2026-05-18 06:24:34 +03:00
feat: enhance Android APK build process and update download links in documentation
This commit is contained in:
@@ -158,14 +158,20 @@ jobs:
|
||||
if [ -f app/keystore.jks ]; then BT=release; TASK=assembleRelease; else BT=debug; TASK=assembleDebug; fi
|
||||
|
||||
./gradlew --no-daemon clean $TASK
|
||||
APK=$(find app/build/outputs/apk/$BT -name "*.apk" | head -1)
|
||||
cp "$APK" ../artifacts/thefeed-android-arm64.apk
|
||||
|
||||
- name: Upload Android APK artifact
|
||||
APK_DIR=app/build/outputs/apk/$BT
|
||||
cp "$APK_DIR"/app-arm64-v8a-${BT}.apk ../artifacts/thefeed-android-arm64.apk
|
||||
cp "$APK_DIR"/app-armeabi-v7a-${BT}.apk ../artifacts/thefeed-android-arm.apk
|
||||
cp "$APK_DIR"/app-universal-${BT}.apk ../artifacts/thefeed-android-universal.apk
|
||||
|
||||
- name: Upload Android APK artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: thefeed-android-apk
|
||||
path: artifacts/thefeed-android-arm64.apk
|
||||
path: |
|
||||
artifacts/thefeed-android-arm64.apk
|
||||
artifacts/thefeed-android-arm.apk
|
||||
artifacts/thefeed-android-universal.apk
|
||||
|
||||
release:
|
||||
needs: [build, android-apk]
|
||||
@@ -184,3 +190,19 @@ jobs:
|
||||
files: artifacts/*
|
||||
generate_release_notes: true
|
||||
prerelease: ${{ contains(github.ref_name, '-') }}
|
||||
append_body: true
|
||||
body: |
|
||||
## Downloads
|
||||
|
||||
| Platform | Architecture | Download |
|
||||
|----------|-------------|----------|
|
||||
| Linux | amd64 | [thefeed-server-linux-amd64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-linux-amd64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-linux-amd64) |
|
||||
| Linux | arm64 | [thefeed-server-linux-arm64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-linux-arm64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-linux-arm64) |
|
||||
| macOS | amd64 (Intel) | [thefeed-server-darwin-amd64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-darwin-amd64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-darwin-amd64) |
|
||||
| macOS | arm64 (Apple Silicon) | [thefeed-server-darwin-arm64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-darwin-arm64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-darwin-arm64) |
|
||||
| FreeBSD | amd64 | [thefeed-server-freebsd-amd64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-freebsd-amd64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-freebsd-amd64) |
|
||||
| FreeBSD | arm64 | [thefeed-server-freebsd-arm64](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-freebsd-arm64) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-freebsd-arm64) |
|
||||
| Windows | amd64 | [thefeed-server-windows-amd64.exe](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-server-windows-amd64.exe) / [client](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-client-windows-amd64.exe) |
|
||||
| Android | arm64 (v8a) | [thefeed-android-arm64.apk](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-android-arm64.apk) |
|
||||
| Android | arm (v7a) | [thefeed-android-arm.apk](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-android-arm.apk) |
|
||||
| Android | Universal | [thefeed-android-universal.apk](https://github.com/${{ github.repository }}/releases/download/${{ github.ref_name }}/thefeed-android-universal.apk) |
|
||||
|
||||
Reference in New Issue
Block a user