Pinned Semver version to ensure we have consistent dependency for builds #56
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: [push] | |
jobs: | |
build: | |
runs-on: windows-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v2 | |
name: Checkout Code | |
- name: Setup MSBuild path | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/setup-nuget@v1 | |
- name: NuGet Restore | |
run: nuget restore .\src\Umbraco.Build.sln | |
- name: Build app for release | |
run: msbuild .\src\Umbraco.Build\Umbraco.Build.csproj -t:rebuild -verbosity:diag -property:Configuration=Release | |
- name: NuGet Pack | |
run: nuget pack .\build\nuspec\Umbraco.Build.nuspec -Properties Solution=$pwd |