Also search nested folders under PublicAssemblies and PrivateAssembli… #144
This file contains 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: [push, pull_request] | |
jobs: | |
build: | |
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository | |
strategy: | |
matrix: | |
os: ["windows-2016", "windows-2019", "windows-2022"] | |
runs-on: ${{ matrix.os }} | |
env: | |
CONFIGURATION: Release | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: '0' | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Set Version | |
run: | | |
mkdir artifacts | |
dotnet tool install -g nbgv | |
nbgv cloud --all-vars | |
- name: Restore VsixTesting.Xunit | |
run: msbuild src/VsixTesting.Xunit /v:m /nologo /t:restore | |
- name: Build VsixTesting.Xunit | |
run: msbuild src/VsixTesting.Xunit /v:m /nologo | |
- name: Restore | |
run: msbuild /v:m /nologo /t:restore | |
- name: Build | |
run: msbuild /v:m /nologo | |
- name: Test | |
run: msbuild /t:test | |
- name: Upload nuget packages | |
if: matrix.os == 'windows-2022' | |
uses: actions/upload-artifact@v2 | |
with: | |
name: VsixTesting | |
path: | | |
artifacts/*.nupkg | |
- name: Upload test results | |
uses: actions/upload-artifact@v2 | |
with: | |
name: VsixTesting.TestResults.${{matrix.os}} | |
path: | | |
artifacts/*.TestResults.xml |