diff --git a/.github/workflows/publish_ci.yml b/.github/workflows/publish_ci.yml index eced3c03..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 @@ -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..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 @@ -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..6d88fe46 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -20,8 +20,8 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [8.0.403] + os: [ubuntu-22.04, windows-latest, macOS-latest] + 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"