Răsfoiți Sursa

Update test.yml

Do not output any warnings or errors when using actions/upload-artifact
Xwite 2 ani în urmă
părinte
comite
37b874e0b6
1 a modificat fișierele cu 4 adăugiri și 0 ștergeri
  1. 4 0
      .github/workflows/test.yml

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

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