Introduce automatic packaging support when building all targets for N… #482
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@v4 | |
with: | |
submodules: 'recursive' | |
- uses: microsoft/setup-msbuild@v2 | |
- 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@v4 | |
with: | |
name: NanaZip_All_Binaries_GitHubActions | |
path: Output\Binaries |