Update Mile.Project.Windows. #43
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: Mile.Aria2_CI_Build | |
path: Output\Binaries |