Skip to content

Commit 46fccfe

Browse files
authored
GitHub: Hardcode .net version (#16106)
1 parent 8d3f902 commit 46fccfe

File tree

6 files changed

+23
-5
lines changed

6 files changed

+23
-5
lines changed

.github/workflows/cd-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Setup .NET 8
5050
uses: actions/setup-dotnet@v4
5151
with:
52-
dotnet-version: '8.0.x'
52+
global-json-file: global.json
5353

5454
- name: Configure the package manifest, logo, and secrets
5555
shell: pwsh

.github/workflows/cd-stable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Setup .NET 8
5050
uses: actions/setup-dotnet@v4
5151
with:
52-
dotnet-version: '8.0.x'
52+
global-json-file: global.json
5353

5454
- name: Configure the package manifest, logo, and secrets
5555
shell: pwsh

.github/workflows/ci.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,11 @@ jobs:
6060
uses: actions/checkout@v4
6161
with:
6262
fetch-depth: 2
63-
63+
- name: Setup .NET 8
64+
uses: actions/setup-dotnet@v4
65+
with:
66+
global-json-file: global.json
67+
6468
- name: Install XamlStyler console
6569
run: 'dotnet tool install --global XamlStyler.Console'
6670

@@ -107,7 +111,7 @@ jobs:
107111
- name: Setup .NET 8
108112
uses: actions/setup-dotnet@v4
109113
with:
110-
dotnet-version: '8.0.x'
114+
global-json-file: global.json
111115

112116
- name: Restore NuGet
113117
shell: pwsh
@@ -205,6 +209,10 @@ jobs:
205209

206210
- name: Checkout the repository
207211
uses: actions/checkout@v4
212+
- name: Setup .NET 8
213+
uses: actions/setup-dotnet@v4
214+
with:
215+
global-json-file: global.json
208216

209217
- name: Download the packages from the Artifacts
210218
uses: actions/download-artifact@v4

.github/workflows/format-xaml.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ jobs:
4646
- uses: actions/checkout@v4
4747
if: env.CAN_RUN == 1
4848

49+
- name: Setup .NET 8
50+
uses: actions/setup-dotnet@v4
51+
with:
52+
global-json-file: global.json
53+
4954
- name: Set git identity
5055
if: env.CAN_RUN == 1
5156
run: |

global.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sdk": {
3+
"version": "8.0.303"
4+
}
5+
}

src/Files.App (Package)/Package.appxmanifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<Identity
1717
Name="FilesDev"
1818
Publisher="CN=Files"
19-
Version="3.6.8.0" />
19+
Version="3.6.17.0" />
2020

2121
<Properties>
2222
<DisplayName>Files - Dev</DisplayName>

0 commit comments

Comments
 (0)