Skip to content

Commit 974350d

Browse files
committed
Fix more
1 parent a01f344 commit 974350d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

.github/workflows/benchmarks.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ concurrency:
2121
cancel-in-progress: true
2222

2323
jobs:
24-
job: run_benchmarks
25-
displayName: Run Benchmarks
24+
job: run_benchmarks
25+
name: Run Benchmarks
2626
strategy:
2727
matrix:
2828
'Windows':
@@ -33,7 +33,7 @@ jobs:
3333
vmImage: $(image)
3434
steps:
3535
- task: CmdLine@2
36-
displayName: 'Set Xcode v$(Xcode_Version)'
36+
name: 'Set Xcode v$(Xcode_Version)'
3737
condition: eq(variables['Agent.OS'], 'Darwin') # Only run this step on macOS
3838
inputs:
3939
script: |
@@ -49,39 +49,39 @@ jobs:
4949
xcodebuild -showsdks
5050
5151
- task: UseDotNet@2
52-
displayName: 'Install .NET SDK'
52+
name: 'Install .NET SDK'
5353
inputs:
5454
packageType: 'sdk'
5555
version: '$(NET_VERSION)'
5656
includePreviewVersions: false
5757

5858
- task: CmdLine@2
59-
displayName: 'Install .NET MAUI Workload'
59+
name: 'Install .NET MAUI Workload'
6060
inputs:
6161
script : 'dotnet workload install maui'
6262

6363
- pwsh: |
6464
Invoke-WebRequest 'https://raw.githubusercontent.com/Samsung/Tizen.NET/main/workload/scripts/workload-install.ps1' -OutFile 'workload-install.ps1'
6565
.\workload-install.ps1
66-
displayName: Install Tizen Workload
66+
name: Install Tizen Workload
6767
6868
# Print Information on the .NET SDK Used By the CI Build Host
6969
# These logs are useful information when debugging CI Builds
7070
# Note: This step doesn't execute nor modify any code; it is strictly used for logging + debugging purposes
7171
- task: CmdLine@2
72-
displayName: 'Display dotnet --info'
72+
name: 'Display dotnet --info'
7373
inputs:
7474
script: dotnet --info
7575

7676
- task: CmdLine@2
77-
displayName: 'Run Benchmarks'
77+
name: 'Run Benchmarks'
7878
inputs:
7979
script : 'dotnet run --project $(PathToCommunityToolkitBenchmarkCsproj) -c Release -- -a $(Build.ArtifactStagingDirectory)'
8080

8181
# publish the Benchmark Results
8282
- task: PublishBuildArtifacts@1
8383
condition: eq(variables['Agent.OS'], 'Windows_NT') # Only run this step on Windows
84-
displayName: 'Publish Benchmark Artifacts'
84+
name: 'Publish Benchmark Artifacts'
8585
inputs:
8686
artifactName: benchmarks
8787
pathToPublish: '$(Build.ArtifactStagingDirectory)'

.github/workflows/dotnet-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ jobs:
141141
run: dotnet build ${{ env.PathToCommunityToolkitUnitTestCsproj }} -c Release
142142

143143
- name: Run Unit Tests
144-
run: dotnet run -c Release --project $${{ env.PathToCommunityToolkitUnitTestCsproj }} --results-directory "${{ runner.temp }}" --coverage --coverage-output "${{ runner.temp }}/coverage.cobertura.xml" --coverage-output-format cobertura
144+
run: dotnet run -c Release --project ${{ env.PathToCommunityToolkitUnitTestCsproj }} --results-directory "${{ runner.temp }}" --coverage --coverage-output "${{ runner.temp }}/coverage.cobertura.xml" --coverage-output-format cobertura
145145

146146
- name: Publish Code Coverage Results
147147
if: ${{ runner.os == 'Windows' && (success() || failure()) }}

0 commit comments

Comments
 (0)