Parcourir la source

Update test.yml

Xwite il y a 2 ans
Parent
commit
8cafa997e0
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      .github/workflows/test.yml

+ 6 - 1
.github/workflows/test.yml

@@ -129,7 +129,12 @@ jobs:
 
       - name: Check Build production
         run: |
-          if [ ! -e "${{ github.workspace }}/apk/legado_*.apk" ]; then
+          if [ ! -d ${{ github.workspace }}/apk ]; then
+            echo "Build production not found! Check gradle logs."
+            exit 1
+          fi
+          cd ${{ github.workspace }}/apk/
+          if [ ! -e legado_*.apk ]; then
             echo "Build production not found! Check gradle logs."
             exit 1
           fi