Xwite 2 жил өмнө
parent
commit
d420b0b61a

+ 2 - 3
.github/workflows/test.yml

@@ -120,8 +120,7 @@ jobs:
 
 
       - name: Check Build production
       - name: Check Build production
         run: |
         run: |
-          cd ${{ github.workspace }}/apk/
-          if [ ! -e legado_*.apk ]; then
+          if [ ! -e "${{ github.workspace }}/apk/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