Skip to content

Commit

Permalink
Setup msbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
josephmyers committed Jul 18, 2024
1 parent 4802056 commit 860f23d
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/build-test-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,18 @@ jobs:
echo GitVersion_NoNormalizeEnabled=true >> $GITHUB_ENV
echo IGNORE_NORMALISATION_GIT_HEAD_MOVE=1 >> $GITHUB_ENV
- name: Install Chocolatey
run: |
Set-ExecutionPolicy Bypass -Scope Process -Force; `
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
# - name: Install Chocolatey
# run: |
# Set-ExecutionPolicy Bypass -Scope Process -Force; `
# [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; `
# iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

- name: Install Visual Studio Build Tools
run: |
choco install visualstudio2019buildtools --version 16.11.2 -y --package-parameters "--add Microsoft.VisualStudio.Workload.MSBuildTools --includeRecommended --includeOptional"
# - name: Install Visual Studio Build Tools
# run: |
# choco install visualstudio2019buildtools --version 16.11.2 -y --package-parameters "--add Microsoft.VisualStudio.Workload.MSBuildTools --includeRecommended --includeOptional"

- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v2

# - name: Install GitVersion
# run: choco install gitversion.portable --version 5.11.1 -y
Expand Down

0 comments on commit 860f23d

Please sign in to comment.