Move DevelopmentChannelSwitcher project to NanaGet.MaintainerTools so… #125
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: Build Binaries | |
on: | |
push: | |
paths-ignore: | |
- '.github/*' | |
- '*.md' | |
pull_request: | |
paths-ignore: | |
- '.github/*' | |
- '*.md' | |
jobs: | |
build: | |
runs-on: windows-latest | |
env: | |
POWERSHELL_TELEMETRY_OPTOUT: 1 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: 'recursive' | |
- uses: microsoft/setup-msbuild@v1 | |
- name: Clear local NuGet cache (workaround for failed restores on windows-latest) | |
run: dotnet nuget locals all --clear | |
- name: Build | |
run: msbuild BuildAllTargets.proj | |
- name: Prepare artifacts | |
run: rm Output\Binaries\* -vb -Recurse -Force -Include *.exp, *.idb, *.ilk, *.iobj, *.ipdb, *.lastbuildstate, *.lib, *.obj, *.res, *.tlog | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: NanaGet_All_Binaries_GitHubActions | |
path: Output\Binaries |