Skip to content

Commit e8794e1

Browse files
committed
GitHubCI: put back common var for .NET version
This way there's much less diff noise in this PR307.
1 parent 314aa93 commit e8794e1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/CI.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
schedule:
1010
- cron: "0 0 * * *"
1111

12+
env:
13+
DOTNET_VERSION: '6.0.113'
1214

1315
# FIXME: figure out why we need to clean after make if we
1416
# want 'make strict' target to really happen without
@@ -25,7 +27,7 @@ jobs:
2527
- name: Setup .NET SDK 6.0.x
2628
uses: actions/[email protected]
2729
with:
28-
dotnet-version: '6.0.113'
30+
dotnet-version: ${{ env.DOTNET_VERSION }}
2931
- name: Install specific Xamarin.iOS and Xamarin.Android versions
3032
run: |
3133
wget https://download.visualstudio.microsoft.com/download/pr/81c41aaa-a3d7-4875-8416-d04b472379b7/21d9f6c5ad3a6bc2479b2ec4b0685b6c/xamarin.ios-16.0.0.72.pkg
@@ -103,7 +105,7 @@ jobs:
103105
- name: Setup .NET SDK 6.0.x
104106
uses: actions/[email protected]
105107
with:
106-
dotnet-version: '6.0.113'
108+
dotnet-version: ${{ env.DOTNET_VERSION }}
107109
- name: HACK to emulate mono uninstall
108110
run: sudo rm -f `which mono` && sudo rm -f `which msbuild`
109111
- name: configure
@@ -130,7 +132,7 @@ jobs:
130132
- name: Setup .NET SDK 6.0.x
131133
uses: actions/[email protected]
132134
with:
133-
dotnet-version: '6.0.113'
135+
dotnet-version: ${{ env.DOTNET_VERSION }}
134136
- name: configure
135137
run: .\configure.bat
136138
- name: build in DEBUG mode
@@ -187,7 +189,7 @@ jobs:
187189
- name: Setup .NET SDK 6.0.x
188190
uses: actions/[email protected]
189191
with:
190-
dotnet-version: '6.0.113'
192+
dotnet-version: ${{ env.DOTNET_VERSION }}
191193
- name: HACK to emulate legacy .NETFramework uninstall
192194
run: del $(& "${Env:ProgramFiles(x86)}\Microsoft Visual Studio\Installer\vswhere.exe" -find MSBuild\\**\\Bin\\MSBuild.exe)
193195
- name: configure
@@ -223,7 +225,7 @@ jobs:
223225
- name: Setup .NET SDK 6.0.x
224226
uses: actions/[email protected]
225227
with:
226-
dotnet-version: '6.0.113'
228+
dotnet-version: ${{ env.DOTNET_VERSION }}
227229
- name: install missing dependencies
228230
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
229231
- name: check runtime version(s)
@@ -252,7 +254,7 @@ jobs:
252254
- name: Setup .NET SDK 6.0.x
253255
uses: actions/[email protected]
254256
with:
255-
dotnet-version: '6.0.113'
257+
dotnet-version: ${{ env.DOTNET_VERSION }}
256258
- name: install missing dependencies
257259
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
258260
- name: install last version of mono (Microsoft APT repositories)
@@ -486,7 +488,7 @@ jobs:
486488
- name: Setup .NET SDK 6.0.x
487489
uses: actions/[email protected]
488490
with:
489-
dotnet-version: '6.0.113'
491+
dotnet-version: ${{ env.DOTNET_VERSION }}
490492
- name: install missing dependencies
491493
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
492494
- name: check runtime version(s)
@@ -513,7 +515,7 @@ jobs:
513515
- name: Setup .NET SDK 6.0.x
514516
uses: actions/[email protected]
515517
with:
516-
dotnet-version: '6.0.113'
518+
dotnet-version: ${{ env.DOTNET_VERSION }}
517519
- name: install missing dependencies
518520
run: sudo DEBIAN_FRONTEND=noninteractive apt install --yes fsharp nunit-console
519521
- name: install last version of mono (Microsoft APT repositories)

0 commit comments

Comments
 (0)