Skip to content

Commit

Permalink
Squash two Github Actions job steps into one
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumball2415 committed Oct 24, 2023
1 parent 1e2b5cb commit 1f256ef
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build-artifact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ jobs:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Set commit hash variable
shell: powershell
run: echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV
- name: Build program
shell: cmd
run: |
powershell -Command "echo "commithash=$(git describe --tags)" >> $env:GITHUB_ENV"
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
call msbuild -m:5 -nologo -p:Configuration="${{ matrix.configuration }}" -p:Platform="${{ matrix.platform }}"
if %ERRORLEVEL%==1 exit %ERRORLEVEL%
Expand Down

0 comments on commit 1f256ef

Please sign in to comment.