Skip to content

Build

Build #9

Workflow file for this run

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