From 0ae16e52da7dd0f0d1eed6da372ffc1bf316124e Mon Sep 17 00:00:00 2001 From: Horis <8674809+821938089@users.noreply.github.com> Date: Wed, 24 Jul 2024 14:03:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7cff0b452..1ca1213a5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -103,7 +103,7 @@ jobs: echo "修改APK文件名" mkdir -p ${{ github.workspace }}/apk/ for file in `ls ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk`; do - mv "$file" ${{ github.workspace }}/apk/legado_${{ env.product }}_${{ env.VERSIONL }}_$typeName.apk + cp "$file" ${{ github.workspace }}/apk/legado_${{ env.product }}_${{ env.VERSIONL }}_$typeName.apk done echo "移动mapping文件" mkdir -p ${{ github.workspace }}/mapping/ @@ -149,13 +149,14 @@ jobs: path: ${{ github.workspace }}/mapping/mapping.txt - name: Publish Pre-Release + if: env.type == 'release' uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "beta" prerelease: true title: "Latest Beta Build" - files: ${{ github.workspace }}/apk/*.apk + files: ${{ github.workspace }}/app/build/outputs/apk/*/*/*.apk lanzou: needs: [ prepare, build ]