From d754bdb3bf615d85e4e47fa456d67215fff862ed Mon Sep 17 00:00:00 2001 From: Viktor Tochonov Date: Fri, 7 Mar 2025 15:05:18 +0200 Subject: [PATCH 1/2] Updated SDK to `9.0.200` --- .github/workflows/publish_ci.yml | 4 ++-- .github/workflows/publish_release.yml | 4 ++-- .github/workflows/pull_request.yml | 2 +- build/Program.fs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish_ci.yml b/.github/workflows/publish_ci.yml index eced3c03..14758ad4 100644 --- a/.github/workflows/publish_ci.yml +++ b/.github/workflows/publish_ci.yml @@ -32,7 +32,7 @@ jobs: - name: Add version to global.json run: | - $version = "8.0.403" + $version = "9.0.200" $globalJsonPath = "global.json" $globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json if ($null -eq $globalJson.sdk.version) { @@ -46,7 +46,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.403 + dotnet-version: 9.0.200 - name: Add the GitHub source 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" diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index ed717e28..3f7e838a 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -34,7 +34,7 @@ jobs: - name: Add version to global.json run: | - $version = "8.0.403" + $version = "9.0.200" $globalJsonPath = "global.json" $globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json if ($null -eq $globalJson.sdk.version) { @@ -48,7 +48,7 @@ jobs: - name: Install .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.403 + dotnet-version: 9.0.200 - name: Install local tools run: dotnet tool restore diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 179bdff0..10b9dbd0 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -21,7 +21,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [8.0.403] + dotnet: [9.0.200] runs-on: ${{ matrix.os }} steps: diff --git a/build/Program.fs b/build/Program.fs index 2a861417..8bc4aed5 100644 --- a/build/Program.fs +++ b/build/Program.fs @@ -32,7 +32,7 @@ let ctx = Context.forceFakeContext () let embedAll = ctx.Arguments |> List.exists (fun arg -> arg = BuildArguments.EmbedAll) module DotNetCli = - let setVersion (o : DotNet.Options) = { o with Version = Some "8.0.403" } + let setVersion (o : DotNet.Options) = { o with Version = Some "9.0.200" } let setRestoreOptions (o : DotNet.RestoreOptions) = o.WithCommon setVersion let configurationString = Environment.environVarOrDefault "CONFIGURATION" "Release" From f25e1e19ef606b843b4f6f5072faeafcedd27f37 Mon Sep 17 00:00:00 2001 From: Viktor Tochonov Date: Wed, 12 Mar 2025 14:52:46 +0200 Subject: [PATCH 2/2] Changed ubuntu build agent to 22.04 --- .github/workflows/publish_ci.yml | 2 +- .github/workflows/publish_release.yml | 2 +- .github/workflows/pull_request.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_ci.yml b/.github/workflows/publish_ci.yml index 14758ad4..ef679a58 100644 --- a/.github/workflows/publish_ci.yml +++ b/.github/workflows/publish_ci.yml @@ -12,7 +12,7 @@ env: jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout diff --git a/.github/workflows/publish_release.yml b/.github/workflows/publish_release.yml index 3f7e838a..4b42d09d 100644 --- a/.github/workflows/publish_release.yml +++ b/.github/workflows/publish_release.yml @@ -12,7 +12,7 @@ env: jobs: publish: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 10b9dbd0..6d88fe46 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,7 +20,7 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] + os: [ubuntu-22.04, windows-latest, macOS-latest] dotnet: [9.0.200] runs-on: ${{ matrix.os }}