Skip to content

Commit

Permalink
Restore vcvars as premake still needs them
Browse files Browse the repository at this point in the history
  • Loading branch information
gorlak committed Jun 5, 2021
1 parent 23e383d commit 6986535
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
with:
submodules: recursive

- name: Setup vcvars
uses: ilammy/msvc-dev-cmd@v1

- name: Premake
run: |
cd ${{ github.workspace }}
Expand All @@ -40,6 +43,9 @@ jobs:
with:
submodules: recursive

- name: Setup vcvars
uses: ilammy/msvc-dev-cmd@v1

- name: Premake
run: |
cd ${{ github.workspace }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ jobs:
with:
submodules: recursive

- name: Setup vcvars
uses: ilammy/msvc-dev-cmd@v1

- name: Premake
run: |
cd ${{ github.workspace }}
Expand All @@ -26,7 +29,7 @@ jobs:

- name: Build Release
run: |
MSBuild.exe Build\P4Win.sln -p:Configuration=Release /p:Platform=x64
MSBuild.exe Build\P4Win.sln -p:Configuration=Release
- name: Source Index PDB
run: |
Expand Down

0 comments on commit 6986535

Please sign in to comment.