Merge branch 'master' of https://github.com/ShirazAdam/TinyWall #92
Workflow file for this run
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 TinyWall (.NET Framework 4.8.1) | |
on: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2.7.0 | |
name: Checkout Code | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v1 | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1.1.1 | |
- name: Restore NuGet Packages | |
run: nuget restore TinyWall.sln | |
- name: Build Solution | |
run: | | |
msbuild.exe TinyWall.sln /p:Platform="Any CPU" /p:Configuration="Release" /p:DeployOnBuild="true" /p:PublishProfile="FolderProfile" /p:PublishProfileRootFolder="TinyWall\PublishProfiles" | |
# upload: | |
# runs-on: windows-latest | |
# steps: | |
# - name: Upload Release Assets | |
# uses: alexellis/upload-assets@0.4.1 | |
# with: | |
# # The paths to the assets you want to upload as a JSON array. You can use a glob pattern. | |
# asset_paths: '[".\TinyWall\TinyWallSetup\Release\*"]' | |