Add icon to PlaySync #13
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: PlaySync Build | |
on: | |
push: | |
branches: main | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Navigate to Workspace | |
run: cd $GITHUB_WORKSPACE | |
- name: Create Build Directory | |
run: mkdir _build | |
- name: Restore Packages | |
run: nuget restore PlaySync.sln | |
- name: Build Solution | |
run: | | |
msbuild.exe PlaySync.sln /nologo /nr:false /p:DeleteExistingFiles=True /p:platform="Any CPU" /p:configuration="Release" /p:PublishUrl="./_build" | |
- name: Upload artifact | |
uses: actions/[email protected] | |
with: | |
name: PlaySync | |
path: "./PlaySync/bin/Release" |