diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml new file mode 100644 index 000000000..77b9a53a0 --- /dev/null +++ b/.github/workflows/Build.yml @@ -0,0 +1,48 @@ +name: Build WPF + +on: [push] + +jobs: + BuildDebug: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 8.0.x + dotnet-quality: 'preview' + - name: Build WPF + run: .\build.cmd -pack -ci -configuration Debug -prepareMachine /p:Platform=x86 + - name: Build CustomWPF + run: dotnet build CustomWpf + - name: Push + uses: actions/upload-artifact@v1 + with: + name: WPF_Debug + path: ./artifacts/packages/Debug/NonShipping + + BuildRelease: + + runs-on: windows-latest + + steps: + - uses: actions/checkout@v3 + - name: Setup .NET + uses: actions/setup-dotnet@v3 + with: + dotnet-version: | + 8.0.x + dotnet-quality: 'preview' + - name: Build WPF + run: .\build.cmd -pack -ci -configuration Release -prepareMachine /p:Platform=x86 + - name: Build CustomWPF + run: dotnet build CustomWpf -c Release + - name: Push + uses: actions/upload-artifact@v1 + with: + name: WPF_Release + path: ./artifacts/packages/Release/NonShipping \ No newline at end of file