mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-28 21:01:02 +00:00
test: sed 's/ *\[.*\) *//g'
This commit is contained in:
18
.github/workflows/beta.yml
vendored
18
.github/workflows/beta.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CI: true
|
||||
SKIP_BUILD: true
|
||||
SKIP_BUILD: false
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
@@ -244,16 +244,16 @@ jobs:
|
||||
${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
# Upload APK to Discord
|
||||
# curl -F "payload_json=${contentbody}" \
|
||||
# -F "dantotsu_debug=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \
|
||||
# ${{ secrets.DISCORD_WEBHOOK }}
|
||||
curl -F "payload_json=${contentbody}" \
|
||||
-F "dantotsu_debug=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \
|
||||
${{ secrets.DISCORD_WEBHOOK }}
|
||||
|
||||
# Send Telegram message without uploading APK
|
||||
# commit_messages=$(echo "$COMMIT_LOG" | sed 's/ *\[.*\) *//g')
|
||||
# curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \
|
||||
# -F "document=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \
|
||||
# -F "caption=Alpha-Build: ${VERSION}: ${commit_messages}" \
|
||||
# https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument
|
||||
commit_messages=$(echo "$COMMIT_LOG" | sed 's/ *\[.*\) *//g')
|
||||
curl -F "chat_id=${{ secrets.TELEGRAM_CHANNEL_ID }}" \
|
||||
-F "document=@app/build/outputs/apk/google/alpha/app-google-alpha.apk" \
|
||||
-F "caption=Alpha-Build: ${VERSION}: ${commit_messages}" \
|
||||
https://api.telegram.org/bot${{ secrets.TELEGRAM_BOT_TOKEN }}/sendDocument
|
||||
|
||||
env:
|
||||
COMMIT_LOG: ${{ env.COMMIT_LOG }}
|
||||
|
||||
Reference in New Issue
Block a user