Skip to content

Commit

Permalink
fix: add missing 'v' prefix to MAA_CORE_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
wangl-cc committed Nov 27, 2023
1 parent fa38553 commit 0cae390
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 0cae390

Please sign in to comment.