Skip to content

Commit

Permalink
Troubleshoot NuGet deployment 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmskywalker committed Jul 16, 2021
1 parent 2db5e7b commit ddf7762
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,23 @@ cache:
- src\designer\bindings\aspnet\Elsa.Designer.Components.Web\node_modules
- '%APPDATA%\npm-cache'

#install:
# - ps: >-
# cd .\src\designer\elsa-workflows-studio
#
# npm install --force
#
# cd ..\bindings\aspnet\Elsa.Designer.Components.Web
#
# npm install --force
#
# cd ..\..\..\..\..
install:
- ps: >-
cd .\src\designer\elsa-workflows-studio
npm install --force
cd ..\bindings\aspnet\Elsa.Designer.Components.Web
npm install --force
cd ..\..\..\..\..
# dotnet tool install --global dotnet-sonarscanner

#before_build:
# - cmd: >-
# docker-compose -f docker-compose.yaml up -d mongodb postgres
before_build:
- cmd: >-
docker-compose -f docker-compose.yaml up -d mongodb postgres
# - ps: >-
# if(-Not $env:APPVEYOR_PULL_REQUEST_NUMBER) {
Expand All @@ -66,29 +66,29 @@ cache:
# /d:sonar.branch.name=$env:APPVEYOR_REPO_BRANCH
# }

#build_script:
# - ps: >-
# cd .\src\designer\elsa-workflows-studio
#
# npm run build
#
# cd ..\bindings\aspnet\Elsa.Designer.Components.Web
#
# npm run build
#
# cd ..\..\..\..\..
#
# dotnet build
build_script:
- ps: >-
cd .\src\designer\elsa-workflows-studio
npm run build
cd ..\bindings\aspnet\Elsa.Designer.Components.Web
npm run build
cd ..\..\..\..\..
dotnet build
# before_test:

# test_script:
# - ps: dotnet test --collect:"XPlat Code Coverage" --logger:xunit -- DataCollectionRunSettings.DataCollectors.DataCollector.Configuration.Format=opencover
# - ps: dotnet test

#after_test:
# - ps: >-
# dotnet pack Elsa.sln --include-symbols /p:Version="$env:APPVEYOR_BUILD_VERSION"
after_test:
- ps: >-
dotnet pack Elsa.sln --include-symbols /p:Version="$env:APPVEYOR_BUILD_VERSION"
artifacts:
- path: '**/*.nupkg'
Expand Down

0 comments on commit ddf7762

Please sign in to comment.