Skip to content

Commit e74322a

Browse files
committed
Display .NET info in builds
1 parent 4fead3f commit e74322a

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

.appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ environment:
1212
BUILD_ARTIFACT_PATH: build-artifacts
1313

1414
build_script:
15-
- ps: dotnet --version
15+
- ps: dotnet --info
1616
- ps: dotnet restore
1717
- ps: dotnet build --no-restore -c Release /p:ContinuousIntegrationBuild=true
1818
- ps: dotnet test --no-restore /p:SkipBuildVersioning=true

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ jobs:
3131
uses: actions/setup-dotnet@v1.9.0
3232
with:
3333
dotnet-version: |
34-
3.1.x
3534
5.0.x
3635
6.0.x
36+
- name: .NET info
37+
run: dotnet --info
3738
- name: Install dependencies
3839
run: dotnet restore
3940
- name: Build

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
inputs:
2020
version: 6.0.x
2121

22-
- script: dotnet --version
23-
displayName: .NET version
22+
- script: dotnet --info
23+
displayName: .NET info
2424

2525
- script: dotnet restore
2626
displayName: Install dependencies

0 commit comments

Comments
 (0)