Skip to content

Commit 86e9948

Browse files
authored
Remove dotnet SDK version from CI (use global.json) (#3486)
1 parent eb91c3d commit 86e9948

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ on:
1111
pull_request:
1212

1313
env:
14-
dotnet_sdk_version: '10.0.100-preview.2.25081.1'
1514
postgis_version: 3
1615
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
1716

@@ -44,8 +43,6 @@ jobs:
4443

4544
- name: Setup .NET Core SDK
4645
uses: actions/setup-dotnet@v4
47-
with:
48-
dotnet-version: ${{ env.dotnet_sdk_version }}
4946

5047
- name: Build
5148
run: dotnet build --configuration Debug
@@ -153,8 +150,6 @@ jobs:
153150

154151
- name: Setup .NET Core SDK
155152
uses: actions/setup-dotnet@v4
156-
with:
157-
dotnet-version: ${{ env.dotnet_sdk_version }}
158153

159154
- name: Pack
160155
run: dotnet pack --configuration Release --property:PackageOutputPath="$PWD/nupkgs" --version-suffix "ci.$(date -u +%Y%m%dT%H%M%S)+sha.${GITHUB_SHA:0:9}" -p:ContinuousIntegrationBuild=true
@@ -187,8 +182,6 @@ jobs:
187182

188183
- name: Setup .NET Core SDK
189184
uses: actions/setup-dotnet@v4
190-
with:
191-
dotnet-version: ${{ env.dotnet_sdk_version }}
192185

193186
- name: Pack
194187
run: dotnet pack --configuration Release --property:PackageOutputPath="$PWD/nupkgs" -p:ContinuousIntegrationBuild=true

.github/workflows/codeql-analysis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,6 @@ on:
2626
schedule:
2727
- cron: '30 22 * * 6'
2828

29-
env:
30-
dotnet_sdk_version: '10.0.100-preview.2.25081.1'
31-
3229
jobs:
3330
analyze:
3431
name: Analyze
@@ -61,8 +58,6 @@ jobs:
6158

6259
- name: Setup .NET Core SDK
6360
uses: actions/setup-dotnet@v4
64-
with:
65-
dotnet-version: ${{ env.dotnet_sdk_version }}
6661

6762
- name: Build
6863
run: dotnet build -c Release

0 commit comments

Comments
 (0)