Update test.yml

This commit is contained in:
Xwite 2024-03-16 07:19:06 +08:00 committed by GitHub
parent a4116185cc
commit ed65514173
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -120,8 +120,7 @@ jobs:
- name: Check Build production - name: Check Build production
run: | run: |
cd ${{ github.workspace }}/apk/ if [ ! -e "${{ github.workspace }}/apk/legado_*.apk" ]; then
if [ ! -e legado_*.apk ]; then
echo "Build production not found! Check gradle logs." echo "Build production not found! Check gradle logs."
exit 1 exit 1
fi fi
@ -211,4 +210,4 @@ jobs:
bot_token: ${{ secrets.BOT_TOKEN }} bot_token: ${{ secrets.BOT_TOKEN }}
context: "#阅读 #Legado #Beta ${{ needs.prepare.outputs.versionL }}" context: "#阅读 #Legado #Beta ${{ needs.prepare.outputs.versionL }}"
path: apk/* path: apk/*
method: sendFile method: sendFile