Remove redundant static fields to reduce memory usage #64
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 WPF | |
on: [push] | |
jobs: | |
BuildDebug: | |
runs-on: [self-hosted, VSPreview] | |
steps: | |
- uses: actions/checkout@v1 | |
# - name: Install Nuget | |
# uses: nuget/setup-nuget@v1 | |
# with: | |
# nuget-version: '5.x' | |
- name: Build | |
run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86 | |
- name: Build CustomWPF | |
run: dotnet build CustomWpf | |
- name: Pack CustomWPF | |
run: dotnet pack CustomWpf --no-build | |
- name: Push | |
uses: actions/upload-artifact@v1 | |
with: | |
name: WPF_Debug | |
path: ./artifacts/packages/Debug/NonShipping | |
- name: Push | |
uses: actions/upload-artifact@v1 | |
with: | |
name: WPF_Debug_Nuget | |
path: ./CustomWpf/bin | |
BuildRelease: | |
runs-on: [self-hosted, VSPreview] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Build | |
run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86 | |
- name: Build CustomWPF | |
run: dotnet build CustomWpf -c Release | |
- name: Pack CustomWPF | |
run: dotnet pack CustomWpf --no-build -c Release | |
- name: Push | |
uses: actions/upload-artifact@v1 | |
with: | |
name: WPF_Release_Nuget | |
path: ./CustomWpf/bin |