Minor fixes for Github workflows (#3756)

This commit is contained in:
Yi Huang 2023-07-13 18:20:45 -07:00 коммит произвёл GitHub
Родитель d8414ffcea
Коммит 40b606f119
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
9 изменённых файлов: 9 добавлений и 24 удалений

Просмотреть файл

@ -48,8 +48,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Download Build Artifacts (x64)
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
@ -84,8 +82,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Download Build Artifacts (x64)
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:
@ -107,8 +103,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Download Build Artifacts (iOS x64)
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
with:

2
.github/workflows/build-reuse-unix.yml поставляемый
Просмотреть файл

@ -82,8 +82,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Set ownership
if: inputs.plat == 'linux' && contains(inputs.arch, 'arm')
run: |

2
.github/workflows/build-reuse-win.yml поставляемый
Просмотреть файл

@ -71,8 +71,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Install Perl
uses: shogo82148/actions-setup-perl@04a9a397f834661fa6faf5aa6d16d14536249d2a
with:

2
.github/workflows/build-reuse-winkernel.yml поставляемый
Просмотреть файл

@ -56,8 +56,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Prepare Machine
shell: pwsh
run: scripts/prepare-machine.ps1 -ForBuild -ForKernel

2
.github/workflows/build.yml поставляемый
Просмотреть файл

@ -208,8 +208,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Download Build Artifacts
uses: dawidd6/action-download-artifact@246dbf436b23d7c49e21a7ab8204ca9ecd1fe615
with:

2
.github/workflows/dotnet-test.yml поставляемый
Просмотреть файл

@ -79,8 +79,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Prepare Machine
shell: pwsh
run: scripts/prepare-machine.ps1 -ForTest

2
.github/workflows/test-down-level.yml поставляемый
Просмотреть файл

@ -41,8 +41,6 @@ jobs:
egress-policy: audit
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Prepare Machine
run: scripts/prepare-machine.ps1 -Tls ${{ matrix.tls }} -DisableTest
shell: pwsh

7
.github/workflows/test.yml поставляемый
Просмотреть файл

@ -123,9 +123,8 @@ jobs:
]
runs-on: ${{ matrix.vec.plat == 'windows' && matrix.vec.os == 'WSPrerelease' && fromJson('[''self-hosted'', ''1ES.Pool=1es-msquic-pool'', ''1ES.ImageOverride=WSPrerelease'']') || matrix.vec.os }}
steps:
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Download Build Artifacts
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
if: matrix.vec.plat == 'windows'
@ -251,8 +250,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
with:
fetch-depth: 0
- uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a
if: matrix.vec.plat == 'windows'
with:

Просмотреть файл

@ -153,7 +153,13 @@ if ($ForTest) {
# enabled for any possible test.
$InstallTestCertificates = $true
$InstallClog2Text = $true
$InstallSigningCertificates = $true; # For kernel drivers
# Since installing signing certs also checks whether test signing is enabled, which most
# likely will fail on a devbox, do it only when we need to test kernel drivers so that
# local testing setup won't be blocked by test signing not enabled.
if ($ForKernel) {
$InstallSigningCertificates = $true;
}
#$InstallCodeCoverage = $true # Ideally we'd enable this by default, but it
# hangs sometimes, so we only want to install