Skip to content

Commit

Permalink
update msbuild.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ranni0225 authored Aug 22, 2023
1 parent 8132fc2 commit 7d2f4ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/msbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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

0 comments on commit 7d2f4ef

Please sign in to comment.