Build #9
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 | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- master | |
env: | |
AZURE_WEBAPP_NAME: src\CTrue.FsConnect.sln # set this to your application's name | |
AZURE_WEBAPP_PACKAGE_PATH: 'published' # set this to the path to your web app project, defaults to the repository root | |
jobs: | |
build: | |
name: Build and deploy | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup MSBuild path | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore NuGet packages | |
run: nuget restore ${{ env.AZURE_WEBAPP_NAME }} | |
- name: Build | |
run: msbuild ${{ env.AZURE_WEBAPP_NAME }} /p:Configuration=Release |