Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
158 commits
Select commit Hold shift + click to select a range
75e4e0e
refactor: make it nnngram, however nagram later
NextAlone Feb 18, 2023
d1e7d39
feat: truly hide phone in drawer
NextAlone Feb 18, 2023
3b4e1d3
feat: replace noquote forward icon
NextAlone Feb 18, 2023
0a0b421
feat: do not unarchive by swipe
NextAlone Feb 18, 2023
dcef818
feat: hide bot button in input field
NextAlone Feb 19, 2023
a4eb209
feat: hide message seen tooltip
NextAlone Feb 19, 2023
7f5a464
feat: disable reaction in chat menu
NextAlone Feb 19, 2023
3848ac7
feat: disable report in chat menu
NextAlone Feb 19, 2023
b50862a
fix: hide forward time when not valid
NextAlone Feb 20, 2023
5669caf
feat: disable notification bubble
NextAlone Feb 20, 2023
fb61bd3
feat: show online status
NextAlone Feb 20, 2023
5743da4
fix: background in alert dialog
NextAlone Feb 28, 2023
2c8ea46
feat: disable photo side action
NextAlone Mar 9, 2023
ec1f74a
feat: merge message to first selected
NextAlone Mar 11, 2023
dc1a723
fix: create mention in text action
NextAlone Mar 11, 2023
2a7ced2
feat: filter zalgo
NextAlone Mar 12, 2023
f7cb767
feat: ignore folder unread count
NextAlone Mar 12, 2023
3712475
feat: add toast when video can't play
NextAlone Mar 13, 2023
7b00a1f
feat: new setting
NextAlone Mar 13, 2023
bed23f1
feat: update sticker desc
NextAlone Mar 28, 2023
95b6f22
feat: forward to saved in photo viewer
NextAlone Mar 28, 2023
9cfe035
feat: repeat as copy
NextAlone Apr 1, 2023
7312803
feat: repeat with reply when long click
NextAlone Apr 1, 2023
289eae0
feat: long click forward to noquote
NextAlone Apr 1, 2023
211c349
fix: optimize options with CONST
NextAlone Apr 1, 2023
229277d
feat: use sender's name instead of forwarded name
NextAlone Apr 3, 2023
340bd23
fix: refactor delete downloaded file order
NextAlone Apr 3, 2023
51124ba
feat: change quick msg icon
NextAlone Apr 4, 2023
d3db6de
feat: reverse message
NextAlone Apr 4, 2023
db1fc6c
fix: settings link
NextAlone Apr 5, 2023
c1a4fab
feat: optimize hidePhone
huajijam Apr 13, 2023
272dc63
feat: save photo and video messages
NextAlone May 2, 2023
5fd34e6
chore: make ci work
NextAlone May 13, 2023
effe868
revert: telegram replace
NextAlone May 13, 2023
a8536ea
feat: hide drawer items
NextAlone Feb 18, 2023
51e461f
docs: update zh-rTW strings
NextAlone May 13, 2023
7d96190
fix: do not unarchive by swipe
NextAlone May 17, 2023
cc445aa
feat: copy photo at photoViewer
NextAlone May 28, 2023
2a3326e
feat: custom title
NextAlone May 28, 2023
e769bf4
chore: find build-tools version automatically
NextAlone Jun 22, 2023
38e684b
feat: drawer list editable
NextAlone Jun 22, 2023
89ed668
chore: remove .idea
NextAlone Jun 30, 2023
98c8c67
feat: text style configuable
NextAlone Jun 30, 2023
315147f
fix: text style configuable default configs
NextAlone Jul 1, 2023
340bec3
feat: hide quick send media bottom
NextAlone Jul 1, 2023
2632757
feat: hide send as button
NextAlone Jul 1, 2023
683937d
feat: use nagram splash
NextAlone Jul 19, 2023
6a8371a
feat: nagram notification icon
NextAlone Jul 19, 2023
9115926
fix: optimize splash
NextAlone Jul 19, 2023
937cbc0
feat: optimize hide stories
NextAlone Aug 12, 2023
e351c90
fix: save message in chats
NextAlone Sep 1, 2023
6f4d2dd
fix: fc caused by channel alias
NextAlone Sep 2, 2023
db26436
fix: text style null check
NextAlone Sep 13, 2023
742eac6
fix: topic icon lost
NextAlone Sep 14, 2023
d6980ed
feat: hide mute all in filter
NextAlone Sep 23, 2023
1d37fc7
feat: group event log button externally
NextAlone Oct 23, 2023
27f5417
docs: temporarily add quote-related strings for zh-cn
NextAlone Oct 29, 2023
a77cbe1
fix: text styles order error
NextAlone Nov 5, 2023
fc1772a
feat: ignore blocked bot messages and buttons
NextAlone Nov 13, 2023
27fdbee
feat: hide keyboard when scrolling
NextAlone Nov 25, 2023
120d7a5
fix: entity lost in merge message
NextAlone Nov 25, 2023
5b805ca
feat: show translated notice
NextAlone Nov 25, 2023
8cefae7
fix: no-reply repeat with translated message
NextAlone Dec 2, 2023
38d3f26
fix: show forwarder's name in consecutive forwarded messages
NextAlone Dec 2, 2023
74e7b13
feat: show translate button when text selected
NextAlone Dec 2, 2023
5d32bf0
build: use the timestamp as version number to avoid downgrade
NextAlone Dec 2, 2023
d84faa6
feat: prepare in-app update
NextAlone Dec 9, 2023
9cd685a
feat: in-app auto update
NextAlone Dec 13, 2023
07b8a63
Revert "fix: unable to render bold text for CJK character"
NextAlone Dec 13, 2023
9793f1f
fix: wrong package in TextStyleSpan
NextAlone Dec 14, 2023
c81d3d3
feat: search in place
NextAlone Dec 31, 2023
a965e57
fix: ci cannot upload
NextAlone Dec 31, 2023
5e9b02f
fix: in-app auto update error
NextAlone Dec 14, 2023
1fc9c14
feat: enlarge recent sticker limit
NextAlone Dec 31, 2023
a52173d
fix: favorite sticker lost after fc
NextAlone Dec 31, 2023
f2372b6
fix: mis-scrolling when pulling archive but canceled.
NextAlone Jan 8, 2024
5c47cde
fix: search loop when in-place search
NextAlone Jan 23, 2024
b534c3f
fix: search error in some occasions
NextAlone Jan 25, 2024
a42b111
chore: change nasettings to nnnsettings
omg-xtao Jan 15, 2024
050c4e9
feat: add shareout on photo items
NextAlone Feb 1, 2024
839920f
fix: crash on share photo
NextAlone Feb 1, 2024
6c7eed2
fix: show reply origin for effectively public chat
cinit Feb 3, 2024
c44017d
feat: show recent online status, combined with showOnlineStatus
NextAlone Feb 4, 2024
119b443
fix: keyboard not show in some search occations
NextAlone Feb 15, 2024
8ec376b
fix: update current num for in-place search
NextAlone Feb 15, 2024
e4d6cb5
feat: copy username on click or longclick in profile activity
NextAlone Feb 15, 2024
9b10e1b
feat: remove fullscreen button on portrait video
NextAlone Feb 15, 2024
f5f17d2
feat: save webm and tgs to gif
NextAlone Feb 16, 2024
97a16a0
fix: use tg share icon for send logs
NextAlone Feb 25, 2024
cad5413
feat: play gif as video
NextAlone Feb 25, 2024
0701cfd
feat: custom gif size
NextAlone Mar 29, 2024
fd3ac70
fix: webm background in saving
NextAlone Mar 29, 2024
00024e1
feat: filter message at selection
NextAlone Mar 31, 2024
6cf83f1
chore: always show add sticker button
omg-xtao Apr 3, 2024
763ac07
chore: always make build to DEBUG_PRIVATE_VERSION
omg-xtao Apr 3, 2024
67b7df7
feat: allow send msg in comment without join
cinit Feb 3, 2024
542c962
feat: hide dialogs floating button
NextAlone Apr 11, 2024
33ddbbf
fix: in-place search stuck at 41 at most
NextAlone Apr 11, 2024
c5cc9c8
feat: Disable Channel Mute Button
NextAlone Apr 13, 2024
a978698
fix: reply-to user or channel name
NextAlone Apr 13, 2024
2776f35
feat: show group linked channel info in ProfileActivity
NextAlone Apr 16, 2024
eebffef
fix: imageLoadQueue clear runnables
omg-xtao May 7, 2024
bcf5f91
fix: archived chat at drawer binded with wrong activity
NextAlone May 13, 2024
8473502
trigger build:
NextAlone May 19, 2024
51da6ef
fix: action bar submenu sliding gradient
omg-xtao May 19, 2024
f63d964
feat: disable auto pip
NextAlone May 24, 2024
496bdef
Revert "docs: temporarily add quote-related strings for zh-cn"
NextAlone May 24, 2024
f71dc9b
style: spotify embed player
omg-xtao Jun 10, 2024
8f1d803
feat: netease embed player
omg-xtao Jun 10, 2024
428fcef
fix: when disable auto pip, video still playing
NextAlone Jun 30, 2024
2a1b269
feat: send mp4 document as video
NextAlone Jun 30, 2024
1cd0398
feat: save photo and video messages from photo viewer
NextAlone Jun 30, 2024
4fb9a4b
feat: trim leading and trailing `|` in message filter
NextAlone Jul 14, 2024
517ff93
fix: remove preview from filename and avoid affected by nullgram 's s…
NextAlone Jul 14, 2024
be20f49
feat: packaging anothor apk with `org.telegram.messenger`
NextAlone Jul 24, 2024
09016cd
fix: ci send error apk to group
NextAlone Jul 24, 2024
cce8a68
feat: Support Drag Event in ChatActivityEnterView
omg-xtao Jul 29, 2024
24c103e
docs: add image description
NextAlone Jul 29, 2024
6cb7de8
feat: disable gravity detection in video
NextAlone Aug 1, 2024
68d1edc
fix: remove play related
NextAlone Aug 16, 2024
9c75e5b
feat: disable new spans in WHOLE Telegram
NextAlone Aug 16, 2024
90c1a34
fix: send when online button not disappear when disable instant voice…
NextAlone Aug 16, 2024
e8baf3e
feat: open sticker owner profile
omg-xtao Sep 7, 2024
55a6c78
feat: support running on Xiaomi Mix Flip's secondary screen
NextAlone Sep 19, 2024
c5902e7
feat: add notice when drag more than 1 file to EnterView
NextAlone Sep 26, 2024
1783e9c
feat: remove fullscreen button on portrait video again
NextAlone Oct 2, 2024
a1d3d33
fix: custom theme not follow system-based dark mode toggle
NextAlone Oct 2, 2024
513e2e2
fix: voip vibrate
omg-xtao Oct 3, 2024
2a481e0
fix: can't hide archive after opening topics
NextAlone Oct 7, 2024
cf529b0
feat: pangu in EN[,.!?]CJK / EN[,.!?]EN / CJK[,.!?]EN
NextAlone Oct 9, 2024
ecf03aa
Revert "feat: pangu in EN[,.!?]CJK / EN[,.!?]EN / CJK[,.!?]EN"
NextAlone Oct 13, 2024
5dd0f01
Update README_CN.md
reindex-ot Oct 14, 2024
57295aa
Update README_JA.md
reindex-ot Oct 14, 2024
6c28026
feat: hide proxy entry in title
NextAlone Oct 14, 2024
5cbdd36
fix: drawer list blank item
NextAlone Oct 14, 2024
5602f53
feat: auto mute after joining channel
NextAlone Oct 19, 2024
69312c5
fix: send mult photos in topic group when use share
omg-xtao Oct 21, 2024
e1054f9
fix: intermittent issues with saving files to downloads dir
NextAlone Oct 26, 2024
4fee76a
fix: some wrong judgement
NextAlone Nov 2, 2024
fba567c
feat: make proxy button invisible instead of hidded
NextAlone Nov 2, 2024
2d86afb
Revert "feat: make proxy button invisible instead of hidded"
NextAlone Nov 2, 2024
6fff8ef
fix: wrong official chat name processing
NextAlone Nov 2, 2024
ba9695e
feat: [WIP] add HyperOS AI in editor
NextAlone Nov 2, 2024
fbaaec0
feat: [WIP] add DeepLX translation provider
NextAlone Nov 3, 2024
50d1786
fix: crash in GeneralSetting after DeepLX selected
NextAlone Nov 4, 2024
8d15810
feat: add HyperOS AI in editor and text selection
NextAlone Nov 4, 2024
fd32714
fix: two confirmation boxes when opening a link
NextAlone Nov 5, 2024
7a353b8
feat: use hair space U+200A and constant it
fankes Nov 14, 2024
b5b27d6
refactor: replace to thin space U+2009
fankes Nov 15, 2024
6b87b45
fix: CJK display error in EditText
NextAlone Dec 3, 2024
5afedb7
Update Japanese & replace Nullgram to Nnngram.
reindex-ot Dec 15, 2024
de17a89
Add @Nnngram banner. remove CI build & Crowdin.
reindex-ot Dec 15, 2024
a349ace
Update README_CN.md
reindex-ot Dec 15, 2024
c02ebd5
Update README_JA.md
reindex-ot Dec 15, 2024
64c29fc
Update README_JA.md
reindex-ot Dec 15, 2024
d754541
Update README.md
reindex-ot Dec 15, 2024
c78989f
Update README_CN.md
reindex-ot Dec 15, 2024
737bfbf
Update README_JA.md
reindex-ot Dec 15, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: markdown
attributes:
value: |
Thanks for reporting bug to Nullgram
Thanks for reporting bug to Nnngram
For further processing please fill in blanks.
- type: textarea
attributes:
Expand Down Expand Up @@ -43,7 +43,7 @@ body:
required: true
- type: input
attributes:
label: Nullgram Version
label: Nnngram Version
placeholder: vX.X.X.XXXXXXX
validations:
required: true
Expand All @@ -52,7 +52,7 @@ body:
attributes:
label: Version requirement
options:
- label: I am using latest debug CI version of Nullgram and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
- label: I am using latest debug CI version of Nnngram and enable verbose log/我正在使用最新 CI 调试版本且启用详细日志
required: true
- type: textarea
id: logs
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
blank_issues_enabled: false
contact_links:
- name: channel
url: https://t.me/NullgramClient
url: https://t.me/nagram_channel
about: Our Telegram Channel
- name: smart-question
url: http://www.catb.org/~esr/faqs/smart-questions.html
Expand Down
2 changes: 1 addition & 1 deletion .github/Privacy-Policy.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
> Nullgram will not share any user data or device information with anyone. It is based on the official Telegram, so in order to learn more about it, please check [Telegram Privacy Policy](https://telegram.org/privacy)
> Nnngram will not share any user data or device information with anyone. It is based on the official Telegram, so in order to learn more about it, please check [Telegram Privacy Policy](https://telegram.org/privacy)
6 changes: 0 additions & 6 deletions .github/dependabot.yml

This file was deleted.

136 changes: 43 additions & 93 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,20 @@ name: Build CI
on:
push:
branches:
- master
- main
paths-ignore:
- '**.md'
- '**.txt'
- '.github/**'
- '!.github/workflows/**'
- "TMessagesProj/src/main/res/values**/**"
- '.gitignore'
workflow_dispatch:

jobs:
build:
name: Gradle Build
if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
Expand All @@ -33,6 +34,9 @@ jobs:
uses: jwlawson/actions-setup-cmake@v1.12
with:
cmake-version: '3.22.1'
- name: Get short SHA
run: |
echo "SHA7=$(echo ${GITHUB_SHA} | cut -c1-7)" >> $GITHUB_ENV
- name: Setup Java
uses: actions/setup-java@v3
with:
Expand Down Expand Up @@ -67,123 +71,67 @@ jobs:
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
df -h

sudo apt-get install bison gcc make curl ninja-build -y
echo "y" | sdkmanager --install "ndk;27.0.12077973" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
- name: Debug Build
run: |
echo -e "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}\nRELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}\nRELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}">>local.properties
cat > service_account_credentials.json << EOF
${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}"
EOF
mkdir TMessagesProj/config/
echo ${{ secrets.KEYSTORE }} | base64 -d > TMessagesProj/config/release.keystore
echo ${{ secrets.GOOGLE_SERVICES_JSON }} | base64 -d > TMessagesProj/google-services.json
mkdir -p TMessagesProj/config/
echo "${{ secrets.KEYSTORE }}" | base64 -d > TMessagesProj/config/release.keystore
echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 -d > TMessagesProj/google-services.json
./gradlew :TMessagesProj:assembleRelease :TMessagesProj:uploadCrashlyticsSymbolFileRelease
echo "APK_FILE=$(find TMessagesProj/build/outputs/apk -name '*arm64*.apk')" >> $GITHUB_ENV
echo "APK_FILE_ARMV7=$(find TMessagesProj/build/outputs/apk -name '*arm32*.apk')" >> $GITHUB_ENV

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@master
name: Upload apk (arm64-v8a)
with:
name: Nullgram-arm64-v8a
name: Nnngram-arm64-v8a-${{ env.SHA7 }}
path: ${{ env.APK_FILE }}
- uses: actions/upload-artifact@v3
name: Upload apk (armeabi-v7a)
with:
name: Nullgram-armeabi-v7a
path: ${{ env.APK_FILE_ARMV7 }}

- name: Upload mapping
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@master
with:
name: mapping
path: TMessagesProj/build/outputs/mapping


play-build:
name: Gradle Build (play store)
runs-on: ubuntu-latest
# if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }}
if: false
env:
CCACHE_COMPILERCHECK: "%compiler% -dumpmachine; %compiler% -dumpversion"
CCACHE_NOHASHDIR: "true"
CCACHE_MAXSIZE: "5G"
CCACHE_HARDLINK: "true"
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Check out submodules
- name: Debug Build (Telegram)
run: |
git -c submodule."libs/rust".update=none submodule update --init --recursive
- name: Setup cmake
uses: jwlawson/actions-setup-cmake@v1.12
with:
cmake-version: '3.22.1'
- name: Setup Java
uses: actions/setup-java@v3
echo -e "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}\nRELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}\nRELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}">>local.properties
mkdir -p TMessagesProj/config/
echo "${{ secrets.KEYSTORE }}" | base64 -d > TMessagesProj/config/release.keystore
echo "${{ secrets.GOOGLE_SERVICES_JSON }}" | base64 -d > TMessagesProj/google-services.json
sed -i 's@xyz.nextalone.nnngram@org.telegram.messenger@' TMessagesProj/build.gradle.kts
sed -i 's@xyz.nextalone.nnngram@org.telegram.messenger@' TMessagesProj/google-services.json
./gradlew TMessagesProj:assembleRelease
find TMessagesProj/build/outputs/apk -name '*arm64*.apk' -exec mv {} TMessagesProj/build/outputs/apk/Nnngram-arm64-v8a-${{ env.SHA7 }}-Telegram.apk \;
echo "APK_FILE=$(find TMessagesProj/build/outputs/apk -name '*arm64*.apk')" >> $GITHUB_ENV

- uses: actions/upload-artifact@master
name: Upload apk (arm64-v8a) (Telegram)
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2.4.2
- name: Set up ccache
uses: hendrikmuhs/ccache-action@v1.2
name: Nnngram-arm64-v8a-${{ env.SHA7 }}-Telegram
path: ${{ env.APK_FILE }}

- name: Upload mapping
uses: actions/upload-artifact@master
with:
key: ccache
restore-keys: ccache
- name: Setup Android SDK Tools
uses: android-actions/setup-android@v2
- name: Prepare Environment
run: |
echo "Removing large packages"
sudo apt-get remove -y '^dotnet-.*' aspnetcore-targeting-pack-6.0 aspnetcore-targeting-pack-7.0
sudo apt-get remove -y '^llvm-.*'
sudo apt-get remove -y 'php.*'
sudo apt-get remove -y '^mongodb-.*'
sudo apt-get remove -y '^mysql-.*'
sudo apt-get remove -y azure-cli google-chrome-stable firefox powershell mono-devel libgl1-mesa-dri
sudo apt-get autoremove -y
sudo apt-get clean
echo "Removing large directories"
sudo rm -rf /usr/share/dotnet/
sudo rm -rf /usr/local/graalvm/
sudo rm -rf /usr/local/.ghcup/
sudo rm -rf /usr/local/share/powershell
sudo rm -rf /usr/local/share/chromium
sudo rm -rf /usr/local/lib/node_modules
df -h

sudo apt-get install bison gcc make curl ninja-build -y
echo "y" | sdkmanager --install "ndk;27.0.12077973" --sdk_root=${ANDROID_SDK_ROOT} &> /dev/null
echo "sdk.dir=${ANDROID_HOME}" >> local.properties
name: mapping-Telegram
path: TMessagesProj/build/outputs/mapping

- name: Debug Build
run: |
echo -e "RELEASE_KEY_PASSWORD=${{ secrets.RELEASE_KEY_PASSWORD }}\nRELEASE_KEY_ALIAS=${{ secrets.RELEASE_KEY_ALIAS }}\nRELEASE_STORE_PASSWORD=${{ secrets.RELEASE_STORE_PASSWORD }}">>local.properties
cat > service_account_credentials.json << EOF
${{ secrets.ANDROID_PUBLISHER_CREDENTIALS }}"
EOF
mkdir TMessagesProj/config/
echo ${{ secrets.KEYSTORE }} | base64 -d > TMessagesProj/config/release.keystore
echo ${{ secrets.GOOGLE_SERVICES_JSON }} | base64 -d > TMessagesProj/google-services.json
./gradlew :TMessagesProj:publishPlayBundle



upload:
name: Upload Release
if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }}
if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
needs:
- build
- telegram-bot-api
steps:
- name: Donwload Artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@master
with:
path: artifacts
- name: Download Telegram Bot API Binary
Expand All @@ -195,6 +143,7 @@ jobs:
- name: find apk
run: |
mkdir apks
find artifacts -name "*Telegram.apk" -exec rm {} \;
find artifacts -name "*.apk" -exec cp {} apks \;
echo "APK_FILE_UPLOAD=$(find apks -name '*arm64*.apk')" >> $GITHUB_ENV
- name: Get Apk Info
Expand All @@ -207,27 +156,28 @@ jobs:
run: |
chmod +x telegram-bot-api-binary
./telegram-bot-api-binary --api-id=21724 --api-hash=3e0cb5efcd52300aec5994fdfc5bdc16 --local 2>&1 > /dev/null &
curl https://raw.githubusercontent.com/qwq233/qwq233/master/uploadCI.py -o uploadCI.py
curl https://raw.githubusercontent.com/PreviousAlone/ActionScript/main/uploadCI.py -o uploadCI.py
python uploadCI.py
env:
CHAT_ID: ${{ secrets.TELEGRAM_CHATID }}
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
VERSION_CODE: ${{steps.apk.outputs.versionCode}}
VERSION_NAME: ${{steps.apk.outputs.versionNum}}
VERSION_CODE: ${{ steps.apk.outputs.versionCode }}
VERSION_NAME: ${{ steps.apk.outputs.versionNum }}
COMMIT_MESSAGE: ${{ github.event.head_commit.message }}

telegram-bot-api:
name: Telegram Bot API
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Clone Telegram Bot API
run: |
git clone --recursive https://github.com/tdlib/telegram-bot-api.git
git status telegram-bot-api >> telegram-bot-api-status
- name: Cache Bot API Binary
id: cache-bot-api
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: telegram-bot-api-binary
key: CI-telegram-bot-api-${{ hashFiles('telegram-bot-api-status') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build CI (Pull Request)
on:
pull_request:
branches:
- master
- main
paths-ignore:
- '**.md'
- '**.txt'
Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ local.properties
service_account_credentials.json
Tools/Utils.java
test.py
.project
.settings
.classpath
History.md
apks
dprint.json
Loading