From 22d01d5753ce996287b0867e5b5f2d90f6fe35d5 Mon Sep 17 00:00:00 2001 From: miaogongzi <69211489+mgz0227@users.noreply.github.com> Date: Wed, 31 Jan 2024 01:48:00 +0800 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2cdafca7f..913ec23e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,8 +90,7 @@ jobs: run: | echo "ver_name=$(grep -m 1 'versionName' ${{ env.outputs_dir }}/apk/${{ env.product }}/release/output-metadata.json | cut -d\" -f4)" >> $GITHUB_ENV echo "修改文件名" - for file in `ls ${{ github.workspace }}/app/build/outputs/apk/${{ env.product }}/release/*.apk`; do - mv "$file" ${{ github.workspace }}/apk/TTS-Server_${{ env.product }}_${{ env.ver_name }}.apk + mv "${{ github.workspace }}/app/build/outputs/apk/${{ env.product }}/release/*.apk" ${{ github.workspace }}/apk/TTS-Server_${{ env.product }}_${{ env.ver_name }}.apk - name: Upload APK To Artifact uses: actions/upload-artifact@v3 with: