Skip to content

Commit 47384b0

Browse files
authored
Merge pull request #28 from gordonpn/main
Upgrade .Net SDK to latest 3.1.x (CVE 2022-30184)
2 parents 0328517 + 7c275a6 commit 47384b0

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

buildspecs/buildspec.canary.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ phases:
1717
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
1818
build:
1919
commands:
20+
# install the latest patch version of 3.1
21+
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c 3.1
22+
- dotnet --version
23+
- dotnet nuget --version
2024
- ./scripts/deploy-canary.sh

buildspecs/buildspec.release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,9 @@ phases:
1111
dotnet: 3.1
1212
build:
1313
commands:
14+
# install the latest patch version of 3.1
15+
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c 3.1
16+
- dotnet --version
17+
- dotnet nuget --version
1418
- dotnet restore
1519
- ./scripts/publish-package.sh

buildspecs/buildspec.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ phases:
1717
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
1818
build:
1919
commands:
20+
# install the latest patch version of 3.1
21+
- curl -sSL https://dot.net/v1/dotnet-install.sh | bash /dev/stdin -c 3.1
22+
- dotnet --version
23+
- dotnet nuget --version
2024
- pwd && ./scripts/start-agent.sh
2125
- dotnet restore
2226
- dotnet build

0 commit comments

Comments
 (0)