Skip to content

Commit

Permalink
workflow to build release build
Browse files Browse the repository at this point in the history
  • Loading branch information
kianzarrin committed Mar 30, 2021
1 parent af28bc2 commit ebd82c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
env:
ModName: NodeController
Solution_File: NodeController.sln
DeployDir: Deploy/Debug/bin
DeployDir: Deploy/Release/bin

steps:
- name: Get Sources
Expand All @@ -35,7 +35,7 @@ jobs:
- name: Build Solution
id: build_solution
run: |
msbuild "${{ env.Solution_File }}" /m /verbosity:normal /restore /p:Configuration=Debug /p:DeployDir="$env:GITHUB_WORKSPACE/$env:DeployDir"
msbuild "${{ env.Solution_File }}" /m /verbosity:normal /restore /p:Configuration=Release /p:DeployDir="$env:GITHUB_WORKSPACE/$env:DeployDir"
echo ::set-output name=ZIP_FILE::${$env:GITHUB_WORKSPACE/$env:DeployDir/../*.zip}
- name: Test vars
Expand Down

0 comments on commit ebd82c4

Please sign in to comment.