From 0f736c810f1cc962c5c7c161c0e75abff0fdd320 Mon Sep 17 00:00:00 2001 From: Celeter <48249130+Celeter@users.noreply.github.com> Date: Sat, 27 Feb 2021 21:39:26 +0800 Subject: [PATCH] Update legado.yml --- .github/workflows/legado.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/legado.yml b/.github/workflows/legado.yml index f16a37d33..f9f81b192 100644 --- a/.github/workflows/legado.yml +++ b/.github/workflows/legado.yml @@ -72,14 +72,15 @@ jobs: do if [[ $f == *"apk" ]]; then file=$f + echo "文件:$file" + break fi done - version=${file:0-15:11} - echo $version - bash $GITHUB_WORKSPACE/.github/scripts/lzy.sh "legado_app_$version.apk" "$GITHUB_WORKSPACE/app/build/outputs/apk/app/release/legado_app_$version.apk" "${{ env.LANZOU_FOLDER_ID }}" + bash $GITHUB_WORKSPACE/.github/scripts/lzy.sh "$file" "$GITHUB_WORKSPACE/app/build/outputs/apk/app/release/$file" "${{ env.LANZOU_FOLDER_ID }}" echo "分享链接: https://kunfei.lanzous.com/b0f810h4b" env: LANZOU_ID: ${{ env.LANZOU_ID }} LANZOU_PSD: ${{ env.LANZOU_PSD }} +