Skip to content

Commit 6dd1e4c

Browse files
authored
Merge pull request #326 from microsoft/dev/andarno/libtemplateUpdate
Merge latest Library.Template
2 parents 50dbf8b + ae38bc8 commit 6dd1e4c

File tree

8 files changed

+8
-13
lines changed

8 files changed

+8
-13
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# You can define any steps you want, and they will run before the agent starts.
2727
# If you do not check out your code, Copilot will do this for you.
2828
steps:
29-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
29+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
3030
with:
3131
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
3232
- name: ⚙ Install prerequisites

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
url: ${{ steps.deployment.outputs.page_url }}
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
27+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2828
with:
2929
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
3030
- name: ⚙ Install prerequisites

.github/workflows/libtemplate-update.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
contents: write
1818
pull-requests: write
1919
steps:
20-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
20+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
2121
with:
2222
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
2323

azure-pipelines/BuildStageVariables.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ variables:
22
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
33
BuildConfiguration: Release
44
NUGET_PACKAGES: $(Agent.TempDirectory)/.nuget/packages/
5-
codecov_token: 1c079a51-729f-4e18-9792-2a75f2e074e0

azure-pipelines/build.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ jobs:
194194
- powershell: Write-Host "##vso[task.setvariable variable=PROFILINGINPUTSDROPNAME]$(tools/variables/ProfilingInputsDropName.ps1)"
195195
displayName: ⚙ Set ProfilingInputsDropName for optprof
196196

197-
- ${{ if eq(variables['Build.Reason'], 'Schedule') }}:
198-
- template: schedule-only-steps.yml
199-
200197
- template: install-dependencies.yml
201198

202199
- script: dotnet nbgv cloud -ca

azure-pipelines/dotnet.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,14 @@ steps:
4242
displayName: 📢 Publish artifacts
4343
condition: succeededOrFailed()
4444

45-
- ${{ if and(ne(variables['codecov_token'], ''), parameters.RunTests) }}:
45+
- ${{ if parameters.RunTests }}:
4646
- powershell: |
4747
$ArtifactStagingFolder = & "tools/Get-ArtifactsStagingDirectory.ps1"
4848
$CoverageResultsFolder = Join-Path $ArtifactStagingFolder "coverageResults-$(Agent.JobName)"
49-
tools/publish-CodeCov.ps1 -CodeCovToken "$(codecov_token)" -PathToCodeCoverage "$CoverageResultsFolder" -Name "$(Agent.JobName) Coverage Results" -Flags "$(Agent.JobName)"
49+
tools/publish-CodeCov.ps1 -CodeCovToken "$(CODECOV_TOKEN)" -PathToCodeCoverage "$CoverageResultsFolder" -Name "$(Agent.JobName) Coverage Results" -Flags "$(Agent.JobName)"
5050
displayName: 📢 Publish code coverage results to codecov.io
5151
timeoutInMinutes: 3
5252
continueOnError: true
53+
# Set the CODECOV_TOKEN variable in your Azure Pipeline to enable code coverage reporting
54+
# Get a token from https://codecov.io/
55+
condition: and(succeeded(), ne(variables['CODECOV_TOKEN'], ''))

azure-pipelines/schedule-only-steps.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

azure-pipelines/vs-insertion.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ resources:
1515
trigger:
1616
tags:
1717
- Real signed
18-
- auto-insertion
1918

2019
variables:
2120
- template: GlobalVariables.yml

0 commit comments

Comments
 (0)