Skip to content

Commit e8b38e9

Browse files
VectorTetraViktor Tochonov
andauthored
F# 9.0.200 (#517)
* Updated SDK to `9.0.200` * Changed ubuntu build agent to 22.04 --------- Co-authored-by: Viktor Tochonov <[email protected]>
1 parent 95950ef commit e8b38e9

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/publish_ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212
jobs:
1313
publish:
1414

15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- name: Checkout
@@ -32,7 +32,7 @@ jobs:
3232

3333
- name: Add version to global.json
3434
run: |
35-
$version = "8.0.403"
35+
$version = "9.0.200"
3636
$globalJsonPath = "global.json"
3737
$globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json
3838
if ($null -eq $globalJson.sdk.version) {
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install .NET Core
4747
uses: actions/setup-dotnet@v4
4848
with:
49-
dotnet-version: 8.0.403
49+
dotnet-version: 9.0.200
5050

5151
- name: Add the GitHub source
5252
run: dotnet nuget add source --username USERNAME --password ${{secrets.GITHUB_TOKEN}} --store-password-in-clear-text --name "github.com" "https://nuget.pkg.github.com/fsprojects/index.json"

.github/workflows/publish_release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
publish:
15-
runs-on: ubuntu-latest
15+
runs-on: ubuntu-22.04
1616

1717
steps:
1818
- name: Checkout
@@ -34,7 +34,7 @@ jobs:
3434

3535
- name: Add version to global.json
3636
run: |
37-
$version = "8.0.403"
37+
$version = "9.0.200"
3838
$globalJsonPath = "global.json"
3939
$globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json
4040
if ($null -eq $globalJson.sdk.version) {
@@ -48,7 +48,7 @@ jobs:
4848
- name: Install .NET Core
4949
uses: actions/setup-dotnet@v4
5050
with:
51-
dotnet-version: 8.0.403
51+
dotnet-version: 9.0.200
5252

5353
- name: Install local tools
5454
run: dotnet tool restore

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
strategy:
2121
fail-fast: false
2222
matrix:
23-
os: [ubuntu-latest, windows-latest, macOS-latest]
24-
dotnet: [8.0.403]
23+
os: [ubuntu-22.04, windows-latest, macOS-latest]
24+
dotnet: [9.0.200]
2525
runs-on: ${{ matrix.os }}
2626

2727
steps:

build/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ let ctx = Context.forceFakeContext ()
3232
let embedAll = ctx.Arguments |> List.exists (fun arg -> arg = BuildArguments.EmbedAll)
3333

3434
module DotNetCli =
35-
let setVersion (o : DotNet.Options) = { o with Version = Some "8.0.403" }
35+
let setVersion (o : DotNet.Options) = { o with Version = Some "9.0.200" }
3636
let setRestoreOptions (o : DotNet.RestoreOptions) = o.WithCommon setVersion
3737

3838
let configurationString = Environment.environVarOrDefault "CONFIGURATION" "Release"

0 commit comments

Comments
 (0)