Restore NuGet packages #3
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: Add nuget to PATH | |
| uses: nuget/setup-nuget@v1 | |
| - name: Restore NuGet packages | |
| run: | | |
| nuget restore IceBuilder.VS2022.sln | |
| - name: Build Visual Studio 2022 Extension | |
| run: | | |
| MSBuild IceBuilder.VS2022.sln /p:Configuration=Release /p:Platform="Any CPU" |