Skip to content

Commit

Permalink
Rename APK to Awery Alpha.apk (MrBoomDeveloper#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shebyyy authored Nov 25, 2024
1 parent b98f3e5 commit f8b5df4
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish_alpha.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,17 @@ jobs:
keyPassword: ${{ secrets.ANDROID_KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "34.0.0"

- name: Rename APK File
run: |
mv app/build/outputs/apk/alpha/release/app-alpha-release-signed.apk app/build/outputs/apk/alpha/release/Awery_Alpha.apk
- name: Upload Alpha APK
uses: actions/upload-artifact@v4
with:
name: "Alpha APK"
retention-days: 90
path: "app/build/outputs/apk/alpha/release/awery-alpha.apk"
path: "app/build/outputs/apk/alpha/release/Awery_Alpha.apk"

- name: Upload APK to Discord and Telegram
shell: bash
Expand Down Expand Up @@ -267,7 +271,7 @@ jobs:
if [ "$SKIP_BUILD" != "true" ]; then
curl -F "payload_json=${contentbody}" \
-F "Awery_debug=@app/build/outputs/apk/alpha/release/awery-alpha.apk" \
-F "Awery_debug=@app/build/outputs/apk/alpha/release/Awery_Alpha.apk" \
${{ secrets.DISCORD_WEBHOOK_URL }}
else
echo "Skipping APK upload to Discord due to SKIP_BUILD being set to true"
Expand All @@ -294,7 +298,7 @@ jobs:
echo "$telegram_dev_info"
if [ "$SKIP_BUILD" != "true" ]; then
APK_PATH="app/build/outputs/apk/alpha/release/awery-alpha.apk"
APK_PATH="app/build/outputs/apk/alpha/release/Awery_Alpha.apk"
response=$(curl -sS -f -X POST \
"https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument" \
-F "chat_id=-1002206819738" \
Expand Down

0 comments on commit f8b5df4

Please sign in to comment.