From c5c057ec560f29f753abe07fca0220b91b0aaec2 Mon Sep 17 00:00:00 2001 From: Andrei Nicholson Date: Fri, 10 Jan 2025 22:18:10 -0500 Subject: [PATCH] Ubuntu doesn't have native .NET 9 support See https://github.com/actions/setup-dotnet/issues/562 for discussion --- .github/workflows/ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 735a5af..5706fa4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,12 @@ jobs: - name: Clone repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + # Ubuntu runner only has native support for .NET 8 + - name: Setup .NET 9 SDK + uses: actions/setup-dotnet@87b7050bc53ea08284295505d98d2aa94301e852 # v4.2.0 + with: + dotnet-version: 9.x + - name: Restore dependencies run: dotnet restore