Add appveyor.yml
This commit is contained in:
parent
8d9c116c75
commit
aa720a8a51
51
appveyor.yml
Normal file
51
appveyor.yml
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
version: 2.0.0-preview6.{build}
|
||||
pull_requests:
|
||||
do_not_increment_build_number: true
|
||||
branches:
|
||||
only:
|
||||
- feature/elsa-2.0
|
||||
image: Previous Visual Studio 2019
|
||||
environment:
|
||||
matrix:
|
||||
- nodejs_version: "10"
|
||||
dotnet_csproj:
|
||||
patch: true
|
||||
file: '**\*.csproj'
|
||||
version: '{version}'
|
||||
version_prefix: '{version}'
|
||||
package_version: '{version}'
|
||||
assembly_version: '{version}'
|
||||
file_version: '{version}'
|
||||
informational_version: '{version}'
|
||||
cache:
|
||||
- src\dashboards\blazor\ElsaDashboard.Application\ClientApp\node_modules
|
||||
- '%APPDATA%\npm-cache'
|
||||
build_script:
|
||||
- ps: >-
|
||||
cd .\src\dashboards\blazor\ElsaDashboard.Application\ClientApp
|
||||
|
||||
npm install npm@latest -g
|
||||
|
||||
npm install posthtml-cli -g
|
||||
|
||||
npm install
|
||||
|
||||
npm run build:html
|
||||
|
||||
npm run build:css:blazor
|
||||
|
||||
cd ..\..\..\..\..\
|
||||
|
||||
dotnet pack Elsa.sln --include-symbols /p:Version=$env:APPVEYOR_BUILD_VERSION
|
||||
test: off
|
||||
artifacts:
|
||||
- path: '**/*.nupkg'
|
||||
name: MyGet
|
||||
deploy:
|
||||
- provider: NuGet
|
||||
server: https://www.myget.org/F/elsa-2/api/v2/package
|
||||
api_key:
|
||||
secure: JfESkwmLdWU7dzvoqKPUfMemb00wX8AEYxeHCsYWTX1LfTeECdmKdZxz7IVUpebb
|
||||
skip_symbols: true
|
||||
on:
|
||||
branch: feature/elsa-2.0
|
||||
Loading…
Reference in a new issue