From e7a74f6ec6e228c71267f0832a73c470b0400e24 Mon Sep 17 00:00:00 2001 From: Ed Ball Date: Thu, 14 Nov 2024 15:29:52 -0800 Subject: [PATCH] Use latest stable .NET. --- .github/workflows/build.yaml | 8 ++------ tools/Build/Build.cs | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a313bbb..e7a38ef 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -22,16 +22,12 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] steps: - - name: Install .NET - uses: actions/setup-dotnet@v3 - with: - dotnet-version: | - 6.0.x - 8.0.x - name: Check out code uses: actions/checkout@v3 with: fetch-depth: 0 # required to publish docs + - name: Install .NET + uses: actions/setup-dotnet@v4 - name: Restore run: .\build.ps1 restore - name: Build diff --git a/tools/Build/Build.cs b/tools/Build/Build.cs index f7c1cb5..d1ad62a 100644 --- a/tools/Build/Build.cs +++ b/tools/Build/Build.cs @@ -44,6 +44,6 @@ void CodeGen(bool verify) RunCodeGen("___", "___"); void RunCodeGen(params string?[] args) => - RunDotNet(new[] { "run", "--no-build", "--project", $"src/{codegen}", "-f", "net6.0", "-c", configuration, "--", "--newline", "lf", verifyOption }.Concat(args)); + RunDotNet(new[] { "run", "--no-build", "--project", $"src/{codegen}", "-c", configuration, "--", "--newline", "lf", verifyOption }.Concat(args)); } });