Update publish_winuiex_nuget.yml #338
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 Build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-2022 | |
steps: | |
- name: Clone Repo | |
uses: actions/checkout@v1 | |
- name: Setup Visual Studio Command Prompt | |
uses: microsoft/[email protected] | |
- name: Setup VSTest Path | |
uses: darenm/Setup-VSTest@v1 | |
- name: Build | |
run: | | |
msbuild /restore /t:Build,Pack src/WinUIEx/WinUIEx.csproj /p:Configuration=Release | |
msbuild /restore /t:Build,Pack src\TestTools\WinUIEx.TestTools\WinUIEx.TestTools.csproj /p:Configuration=Release | |
msbuild /restore /t:Build src\TestTools\WinUIEx.TestTools.MSTest.CodeGenerator\WinUIEx.TestTools.MSTest.CodeGenerator.csproj /p:Configuration=Release | |
msbuild /restore /t:Build,Pack src\TestTools\WinUIEx.TestTools.MSTest\WinUIEx.TestTools.MSTest.csproj /p:Configuration=Release | |
# - name: Test | |
# run: | | |
# msbuild /restore /t:Build src\TestTools\WinUIUnitTests\WinUIUnitTests.csproj /p:Platform=x64 /p:Configuration=Release | |
# vstest.console.exe src\TestTools\WinUIUnitTests\bin\x64\Release\net5.0-windows10.0.19041.0\win10-x64\WinUIUnitTests.build.appxrecipe --logger:"console;verbosity=normal" /InIsolation | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v1 | |
with: | |
name: NuGet Packages | |
path: artifacts\NuGet\Release |