Przeglądaj źródła

Update test.yml

Do not output any warnings or errors when using actions/upload-artifact
Xwite 2 lat temu
rodzic
commit
37b874e0b6
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      .github/workflows/test.yml

+ 4 - 0
.github/workflows/test.yml

@@ -112,19 +112,23 @@ jobs:
         uses: actions/upload-artifact@v4
         with:
           name: legado.${{ env.product }}.${{ env.type }}
+          if-no-files-found: ignore
           path: ${{ github.workspace }}/apk/*.apk
 
       - name: Upload Mapping File To Artifact
         uses: actions/upload-artifact@v4
         with:
           name: legado.${{ env.product }}.${{ env.type }}.mapping
+          if-no-files-found: ignore
           path: ${{ github.workspace }}/mapping/mapping.txt
 
       - name: Upload Missing Rules File To Artifact
         uses: actions/upload-artifact@v4
         with:
           name: legado.${{ env.product }}.${{ env.type }}.mapping.missing_rules
+          if-no-files-found: ignore
           path: ${{ github.workspace }}/mapping/missing_rules.txt
+
       - name: Check Build production
         run: |
           cd ${{ github.workspace }}/apk/