Skip to content

Commit

Permalink
update upload build file link
Browse files Browse the repository at this point in the history
  • Loading branch information
IamRezaMousavi committed Aug 29, 2024
1 parent 7dc973d commit a6ad2fa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ jobs:

- name: Send apk to telegram
run: |
mv $(find . -type f -iname *.apk) banafsh-nightly.apk
apk_path="banafsh-nightly.apk"
apk_path=$(find . -type f -iname *.apk)
curl https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendDocument \
-F chat_id=${{ secrets.TELEGRAM_CHAT_ID }} \
-F message_thread_id=15 \
-F "caption=Size: $(ls -l --block-size=K "$apk_path" | awk '{ print $5 }')" \
-F parse_mode=HTML \
-F document=@"$apk_path"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/telegram-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
text: .,
disable_web_page_preview: true,
chat_id: "${{ secrets.TELEGRAM_CHAT_ID }}",
message_thread_id: 15,
parse_mode: "HTML"
}' | \
curl -X POST https://api.telegram.org/bot${{ secrets.TELEGRAM_TOKEN }}/sendMessage \
Expand Down
4 changes: 4 additions & 0 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ android {
versionName = project.version.toString()

multiDexEnabled = true

val gitInfo = providers.of(app.banafsh.android.gradle.GitInfoValueSource::class) {}.get()

setProperty("archivesBaseName", "Banafsh-$versionName-$gitInfo")
}

splits {
Expand Down

0 comments on commit a6ad2fa

Please sign in to comment.