Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
45 lines
No EOL
1 KiB
YAML
45 lines
No EOL
1 KiB
YAML
name: Release
|
|
on:
|
|
push:
|
|
tags:
|
|
- "v*"
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
uses: ./.github/workflows/build.yml
|
|
secrets: inherit
|
|
permissions:
|
|
id-token: write
|
|
attestations: write
|
|
artifact-metadata: write
|
|
release:
|
|
needs:
|
|
- build
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- name: Download artifacts
|
|
uses: actions/download-artifact@v8
|
|
with:
|
|
name: outputs
|
|
|
|
- name: Display downloaded files
|
|
run: ls -R
|
|
|
|
- name: Release
|
|
uses: softprops/action-gh-release@v2
|
|
with:
|
|
files: |
|
|
apk/**/*.apk
|
|
bundle/**/*.aab
|
|
|
|
- name: Upload to Telegram
|
|
uses: nekogram/upload-with-mtcute@4ef471af101913322285bad4e391339428169291
|
|
with:
|
|
api-id: ${{ secrets.API_ID }}
|
|
api-hash: ${{ secrets.API_HASH }}
|
|
bot-token: ${{ secrets.RELEASE_BOT_TOKEN }}
|
|
chat-id: ${{ secrets.RELEASE_CHANNEL_ID }}
|
|
files: apk/**/*.apk |