From 81a086c29584b42f0e1160305b2087ddcf9461c8 Mon Sep 17 00:00:00 2001 From: CoolLoong <1542536763@qq.com> Date: Thu, 14 Dec 2023 17:07:52 +0800 Subject: [PATCH] fix: try --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0af337ad5..363d8c349 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,8 +32,8 @@ jobs: $version = ($content | Select-String -Pattern 'version=(.*)' | ForEach-Object { $_.Matches.Groups[1].Value }).Trim() echo "version_type=$type" >> $GITHUB_ENV echo "version_number=$version" >> $GITHUB_ENV - echo "$version_type" - echo "$version_number" + printf '%s\n' "$version_type" + printf '%s\n' "$version_number" - uses: xmake-io/github-action-setup-xmake@v1 @@ -55,7 +55,7 @@ jobs: xmake repo -u - run: | - xmake bds-lib -b --${{ env.version_type }}=${{ env.version_number }} + xmake bds-lib -b --$version_type=$version_number - run: | xmake f -a x64 -m release -p windows -v -y --ccache=n