Skip to content

Commit

Permalink
GitHub: Hardcode .net version (#16106)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaira2 authored Sep 2, 2024
1 parent 8d3f902 commit 46fccfe
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
global-json-file: global.json

- name: Configure the package manifest, logo, and secrets
shell: pwsh
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
global-json-file: global.json

- name: Configure the package manifest, logo, and secrets
shell: pwsh
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,11 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 2

- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

- name: Install XamlStyler console
run: 'dotnet tool install --global XamlStyler.Console'

Expand Down Expand Up @@ -107,7 +111,7 @@ jobs:
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
global-json-file: global.json

- name: Restore NuGet
shell: pwsh
Expand Down Expand Up @@ -205,6 +209,10 @@ jobs:

- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

- name: Download the packages from the Artifacts
uses: actions/download-artifact@v4
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/format-xaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ jobs:
- uses: actions/checkout@v4
if: env.CAN_RUN == 1

- name: Setup .NET 8
uses: actions/setup-dotnet@v4
with:
global-json-file: global.json

- name: Set git identity
if: env.CAN_RUN == 1
run: |
Expand Down
5 changes: 5 additions & 0 deletions global.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"sdk": {
"version": "8.0.303"
}
}
2 changes: 1 addition & 1 deletion src/Files.App (Package)/Package.appxmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Identity
Name="FilesDev"
Publisher="CN=Files"

This comment has been minimized.

Copy link
@Emrol

Emrol Sep 5, 2024

"version": "8.0.303"

Version="3.6.8.0" />
Version="3.6.17.0" />

<Properties>
<DisplayName>Files - Dev</DisplayName>
Expand Down

1 comment on commit 46fccfe

@Emrol
Copy link

@Emrol Emrol commented on 46fccfe Sep 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/Files.App (Package)/Package.appxmanifest-common info-cam0-0-0^^^^"version": "8.0.303""sdk": {Name="FilesDev"

Please sign in to comment.