Actions - v4 #4
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 and Release an development build of zstio-tv | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget | |
- name: Restore NuGet packages | |
run: nuget restore ./zstio-tv.sln | |
- name: Build WPF App | |
run: msbuild ./zstio-tv.sln /p:Configuration=Release /p:Platform="Any CPU" | |
- name: Publish Artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: DEV-ZSTIOTV-${{ github.run_number }}.exe | |
path: ./path/to/your/build/output/folder |