Skip to content

Commit cc62cdb

Browse files
committed
Changing fetch depths and version log
1 parent 2b3d14f commit cc62cdb

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

Diff for: .github/workflows/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,13 @@ jobs:
1414
steps:
1515
- name: Checkout code
1616
uses: actions/checkout@v2
17+
with:
18+
fetch-depth: 0
1719

1820
- name: Run Script
1921
shell: pwsh
2022
run: |
2123
.\build.ps1 --target=BuildAndTest
24+
25+
- name: checking GitTool version
26+
run: dotnet gitversion --version

Diff for: readme.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# queo-commons ModelBuilder (TestDataBuilder)
22

3-
[![Pipeline](https://github.com/queoGmbH/csharp-commons.builder.model/actions/workflows/main.yml/badge.svg)](https://github.com/queoGmbH/csharp-commons.builder.model/actions/workflows/main.yml)
4-
5-
> **WORK IN PROGRESS**
3+
[![Test](https://github.com/queoGmbH/csharp-commons.builder.model/actions/workflows/main.yml/badge.svg)](https://github.com/queoGmbH/csharp-commons.builder.model/actions/workflows/main.yml)
64

75
### Cake Pipeline
86

97
- use `./build.ps1` to run the cake-pipeline
8+
- `--target=Default` Default target with test, publish and upload artifacts
9+
- `--target=BuildAndTest` Building and running tests only
10+
- `--target=BuildPackage` Publish the version to nuget
1011
- to change the _dotnet version_ used for the build adjust 2 things
1112
1. sdk version in `global.json`
1213
2. sdk version in `build.config`

0 commit comments

Comments
 (0)