Create artifacts\packages folder when running gh action #15
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/setup-msbuild@v1.0.2 | |
- name: Create artifacts\packages folder | |
uses: mk artifacts\packages | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1.0.5 | |
- name: Restore NuGet packages | |
run: nuget restore ${{ env.AZURE_WEBAPP_NAME }} | |
- name: Build | |
run: msbuild ${{ env.AZURE_WEBAPP_NAME }} /p:Configuration=Release |