Browse Source

Enabled verbosity log in build cake for GitVersion and also added .NET 6 and 7 to see if that's what is requiring GitVersion.

DEVOPS-1822-fede-cake-ios-fix
Federico Maccaroni 2 years ago
parent
commit
d3c44c5c5e
No known key found for this signature in database
GPG Key ID: 5D233F8F2B034536
  1. 7
      .github/workflows/build-beta.yml
  2. 5
      build.cake

7
.github/workflows/build-beta.yml

@ -65,7 +65,12 @@ jobs: @@ -65,7 +65,12 @@ jobs:
- name: Set up .NET
uses: actions/setup-dotnet@3447fd6a9f9e57506b15f895c5b76d3b197dc7c2 # v3.2.0
with:
dotnet-version: '8.0.x'
dotnet-version: |
3.1.x
6.0.x
7.0.x
8.0.x
# This step might be obsolete at some point as .NET MAUI workloads
# are starting to come pre-installed on the GH Actions build agents.

5
build.cake

@ -43,7 +43,10 @@ int CreateBuildNumber(int previousNumber) => ++previousNumber; @@ -43,7 +43,10 @@ int CreateBuildNumber(int previousNumber) => ++previousNumber;
Task("GetGitInfo")
.Does(()=> {
_gitVersion = GitVersion(new GitVersionSettings());
_gitVersion = GitVersion(new GitVersionSettings()
{
Verbosity = GitVersionVerbosity.Diagnostic
});
if(debugScript)
{

Loading…
Cancel
Save