From 0cae390e5f0d9de1254f7b2c2fee18926068a38e Mon Sep 17 00:00:00 2001 From: Loong Date: Mon, 27 Nov 2023 20:27:11 +0800 Subject: [PATCH] fix: add missing 'v' prefix to MAA_CORE_VERSION --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c1ea173c..a2a7c134 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,10 +77,11 @@ jobs: ls -l "$(cargo run -- dir library)" ls -l "$(cargo run -- dir resource)" package_name=$(basename $(cargo run -- dir cache)/MAA-v*) + echo "Downloaded MaaCore package: $package_name" version=${package_name#MAA-v} version=${version%%-*} - echo "Installed MaaCore version: $version" - echo "MAA_CORE_VERSION=$version" >> $GITHUB_ENV + echo "Downloaded MaaCore version: $version" + echo "MAA_CORE_VERSION=v$version" >> $GITHUB_ENV - name: Test if: matrix.arch == 'x86_64' run: |