From 7d2f4ef0a480da1959cd403c164de440c27d5f99 Mon Sep 17 00:00:00 2001 From: ranni0225 <101507816+ranni0225@users.noreply.github.com> Date: Tue, 22 Aug 2023 18:39:44 +0800 Subject: [PATCH] update msbuild.yml --- .github/workflows/msbuild.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index f19bc8e..10ebe18 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -8,9 +8,9 @@ on: env: PROJECT_DIRECTORY: ./WRK-V1.2 - SOLUTION_FILE_PATH: ./WRK-V1.2/WRK.sln - PREBUILD_SCRIPT_FILE_PATH: ./WRK-V1.2/PREBUILD.PY - OUTPUT_DIRECTORY: ./WRK-V1.2/BASE/NTOS/BUILD/EXE + PREBUILD_SCRIPT_FILE_NAME: PREBUILD.PY + SOLUTION_FILE_NAME: WRK.sln + OUTPUT_DIRECTORY: BASE/NTOS/BUILD/EXE BUILD_CONFIGURATION: x86 permissions: @@ -33,13 +33,13 @@ jobs: - name: Build working-directory: ${{env.GITHUB_WORKSPACE}} - run: cd ${{env.PROJECT_DIRECTORY}} && python ${{env.PREBUILD_SCRIPT_FILE_PATH}} && msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}} + run: cd ${{env.PROJECT_DIRECTORY}} && python ${{env.PREBUILD_SCRIPT_FILE_NAME}} && msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_NAME}} - name: Upload to GitHub Release uses: xresloader/upload-to-github-release@main env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} with: - file: "${{env.OUTPUT_DIRECTORY}}/wrkx86.*" + file: "${{env.PROJECT_DIRECTORY}}/${{env.OUTPUT_DIRECTORY}}/wrkx86.*" overwrite: true verbose: true