From 2c403299c82d7907b8a41ebc4a44ef1c86e899cf Mon Sep 17 00:00:00 2001 From: Rosyrain <116946548+Rosyrain@users.noreply.github.com> Date: Tue, 26 Nov 2024 18:04:27 +0800 Subject: [PATCH] download reports and mo-data (#194) --- .github/workflows/e2e-upgrade.yaml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/e2e-upgrade.yaml b/.github/workflows/e2e-upgrade.yaml index 995697e..444fdc5 100644 --- a/.github/workflows/e2e-upgrade.yaml +++ b/.github/workflows/e2e-upgrade.yaml @@ -178,13 +178,34 @@ jobs: mv ${{ github.workspace }}/workspace ${{ github.workspace }}/upload/ mv ${{ github.workspace }}/mo-tester ${{ github.workspace }}/upload/ + #拆分上传 + mkdir -p ${{ github.workspace }}/upload-1 + mkdir -p ${{ github.workspace }}/upload-2 + + mv $GITHUB_WORKSPACE/upload/mo-tester/report $GITHUB_WORKSPACE/upload-1/ + mv $GITHUB_WORKSPACE/upload/workspace/mo-service.log $GITHUB_WORKSPACE/upload-1/ + mv $GITHUB_WORKSPACE/upload/workspace/upstream-mo-service.log $GITHUB_WORKSPACE/upload-1/ + + mv $GITHUB_WORKSPACE/upload/workspace/mo-service $GITHUB_WORKSPACE/upload-2/ + mv $GITHUB_WORKSPACE/upload/workspace/mo-service-upstream $GITHUB_WORKSPACE/upload-2/ + mv $GITHUB_WORKSPACE/upload/workspace/mo-data $GITHUB_WORKSPACE/upload-2/ + - uses: actions/upload-artifact@v4 if: ${{ failure() || cancelled()}} continue-on-error: true with: name: Compatibility-Test-Target-on-Linux-x64(LAUNCH)-reports path: | - ${{ github.workspace }}/upload + ${{ github.workspace }}/upload-1 + retention-days: 7 + + - uses: actions/upload-artifact@v4 + if: ${{ failure() || cancelled()}} + continue-on-error: true + with: + name: Compatibility-Test-Target-on-Linux-x64(LAUNCH)-mo-data + path: | + ${{ github.workspace }}/upload-2 retention-days: 7 upgrade-ci-release-linux-amd64: