Skip to content

Commit

Permalink
Updated pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
xperiandri committed Mar 24, 2024
1 parent 6e813d0 commit 81a0bc9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:

- name: Add version to global.json
run: |
$version = "7.0.406"
$version = "8.0.202"
$globalJsonPath = "global.json"
$globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json
if ($null -eq $globalJson.sdk.version) {
Expand All @@ -45,7 +45,7 @@ jobs:
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.406
dotnet-version: 8.0.202

- 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"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Add version to global.json
run: |
$version = "7.0.406"
$version = "8.0.202"
$globalJsonPath = "global.json"
$globalJson = Get-Content -Raw -Path $globalJsonPath | ConvertFrom-Json
if ($null -eq $globalJson.sdk.version) {
Expand All @@ -47,7 +47,7 @@ jobs:
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 7.0.406
dotnet-version: 8.0.202

- name: Install local tools
run: dotnet tool restore
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
dotnet: [7.0.406]
dotnet: [8.0.202]
runs-on: ${{ matrix.os }}

steps:
Expand Down
4 changes: 2 additions & 2 deletions build/Program.fs
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ execContext
|> Fake.Core.Context.setExecutionContext

module DotNetCli =
let setVersion (o : DotNet.Options) = { o with Version = Some "7.0.401" }
let setVersion (o : DotNet.Options) = { o with Version = Some "8.0.202" }
let setRestoreOptions (o : DotNet.RestoreOptions) = o.WithCommon setVersion

let configurationString = Environment.environVarOrDefault "CONFIGURATION" "Release"
Expand All @@ -43,7 +43,7 @@ let configuration =
// - for documentation, you also need to edit info in "docs/tools/generate.fsx"

[<Literal>]
let DotNetMoniker = "net6.0"
let DotNetMoniker = "net8.0"

let project = "FSharp.Data.GraphQL"
let release = ReleaseNotes.load "RELEASE_NOTES.md"
Expand Down

0 comments on commit 81a0bc9

Please sign in to comment.