diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6068317c..b035d393e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -120,8 +120,7 @@ jobs: - name: Check Build production 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." exit 1 fi @@ -211,4 +210,4 @@ jobs: bot_token: ${{ secrets.BOT_TOKEN }} context: "#阅读 #Legado #Beta ${{ needs.prepare.outputs.versionL }}" path: apk/* - method: sendFile \ No newline at end of file + method: sendFile