Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,12 @@ jobs:
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

# An exact version, not global.json: resolving "latest 10.0" goes through an aka.ms link that
# redirects to a host answering 409, while an exact version downloads from builds.dotnet (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
dotnet-version: 10.0.402

- name: Restore dependencies
run: dotnet restore
Expand Down Expand Up @@ -149,10 +151,12 @@ jobs:
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

# An exact version, not global.json: resolving "latest 10.0" goes through an aka.ms link that
# redirects to a host answering 409, while an exact version downloads from builds.dotnet (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
dotnet-version: 10.0.402

# EF_FLOAT is empty on the floor legs, and must reach restore and build alike on the others:
# restore picks the packages, build copies them next to the test assemblies.
Expand Down Expand Up @@ -240,10 +244,12 @@ jobs:
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

# An exact version, not global.json: resolving "latest 10.0" goes through an aka.ms link that
# redirects to a host answering 409, while an exact version downloads from builds.dotnet (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
dotnet-version: 10.0.402

- name: Restore the packages into a throwaway consumer project
run: ./test/consumer-smoke-test.sh
Expand All @@ -261,10 +267,12 @@ jobs:
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

# An exact version, not global.json: resolving "latest 10.0" goes through an aka.ms link that
# redirects to a host answering 409, while an exact version downloads from builds.dotnet (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
dotnet-version: 10.0.402

# Packing is itself a check: a package that declares PackageReadmeFile without packing the
# file fails here with NU5019.
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,12 @@ jobs:
steps:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6.1.0

# An exact version, not global.json: resolving "latest 10.0" goes through an aka.ms link that
# redirects to a host answering 409, while an exact version downloads from builds.dotnet (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
global-json-file: global.json
dotnet-version: 10.0.402

# MSBuild evaluation rather than parsing the XML, so the value is exactly what the build
# will stamp onto the packages.
Expand Down Expand Up @@ -196,11 +198,12 @@ jobs:

steps:
# No checkout here, so no global.json to read: this job only pushes the verified packages
# and any SDK of the line can do that. Bump it with global.json when the line moves.
# and any SDK of the line can do that. Bump it with global.json when the line moves. Exact,
# as in the build job (#461).
- name: Setup .NET
uses: actions/setup-dotnet@26b0ec14cb23fa6904739307f278c14f94c95bf1 # v5.4.0
with:
dotnet-version: 10.0.x
dotnet-version: 10.0.402

# Publishes exactly what was verified — the packages are not rebuilt here.
- name: Download packages
Expand Down
Loading