From a300ead18e55c5d0b646c341cb64ed57683886c8 Mon Sep 17 00:00:00 2001 From: Xwite <1797350009@qq.com> Date: Mon, 19 Feb 2024 19:00:56 +0800 Subject: [PATCH] Update test.yml Do not output any warnings or errors when using actions/upload-artifact --- .github/workflows/test.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 286f7c388..f7aae086b 100644 --- a/.github/workflows/test.yml +++ b/.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/