From e4ecc79bc97fab00d119c230110f0c4d62365ea2 Mon Sep 17 00:00:00 2001 From: Silverteal <67404722+Silverteal@users.noreply.github.com> Date: Sat, 1 Jun 2024 19:54:17 +0800 Subject: [PATCH] Update build.yml --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 751c2cf..d4272e2 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -33,7 +33,6 @@ jobs: env: # Wap_Project_Directory: Plain Craft Launcher 2 - Path: Plain Craft Launcher 2\Plain Craft Launcher 2.vbproj Configuration: ${{ matrix.configuration }} Version_Friendly_Name: ${{ matrix.name }} @@ -50,9 +49,9 @@ jobs: # 由于路径包含空格,使用环境变量传入路径,避免令人疑惑的引号写法 - name: 编译源代码 - run: msbuild $env:Path /p:Configuration=$env:Configuration /t:Rebuild - # env: - # + run: msbuild $env:Project_Path /p:Configuration=$env:Configuration /t:Rebuild + env: + Project_Path: Plain Craft Launcher 2\Plain Craft Launcher 2.vbproj - name: 上传编译产物 uses: actions/upload-artifact@v4