Recently, our windows builds started skipping the deployment steps with the following message:
WARNING: Skipping deployment instructions. In this OS environment version, it is not possible to use DPL v2 by default due to compatibility issues between legacy system components and the modern Ruby version. Please use the older DPL v1 instead by modifying only this specific build job recipe to include.
We haven’t changed anything in our build script and it was working until a while ago. Here’s our yml:
os: windows
services:
- docker
language: csharp
mono: none
install:
- choco install dotnetcore-sdk
- choco install dotnet-6.0-sdk
before_script:
- dotnet clean
- dotnet restore
script:
- dotnet build
- if [[ -z ${TRAVIS_TAG} ]]; then dotnet test; fi
deploy:
provider: script
edge:
branch: v2.0.3-beta.4
script: ./publish.bat $TRAVIS_TAG
on:
tags: true