Specifics
Upload-Artifacts
-TaskTravis CI does not have artifacts storage therefore uploading artifacts is not supported in Cake.Recipe.
actions/checkout
The default for
fetch-depth
currently does not work withGitVersion
. Setdepth: false
undergit:
to fetch all history for all branches.
Example Config
NOTE:
The example shows a build-configuration for Travis CI, using windows. Keep in mind using windows in Travis CI is currently an early release and not everything is fully supported.
The current list of available environments for Travis-CI can be found in the documentation.
language: csharp
os: windows
mono: none
dotnet: none
cache:
directories:
- tools
git:
depth: false
before_install:
- choco install dotnetcore-sdk -version 3.1.402
- powershell Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine
script:
- powershell ./build.ps1