Install Visual Studio Extension Workload #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["main"] | |
| concurrency: | |
| group: ${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Setup MSBuild | |
| uses: microsoft/setup-msbuild@v2 | |
| - name: Install Visual Studio Extension Workload | |
| run: | | |
| vs_installer.exe modify --add Microsoft.VisualStudio.Workload.VisualStudioExtensionBuildTools --quiet --wait | |
| - name: Build Visual Studio 2022 Extension | |
| run: | | |
| MSBuild IceBuilder.VS2022.sln /p:Configuration=Release /p:Platform="Any CPU" |