From 71b1ccd2f7b97d17f0eb7c7bb8712520fa6af1d4 Mon Sep 17 00:00:00 2001 From: Martin Evans Date: Sun, 30 Jul 2023 00:47:00 +0100 Subject: [PATCH] Always installing both 6 and 7 --- .github/workflows/main.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bbd55d86..9c1fdb1e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -17,32 +17,29 @@ jobs: - build: linux-debug os: ubuntu-latest config: debug - dotnet: 6.0.x - build: linux-release os: ubuntu-latest config: release - dotnet: 6.0.x - build: macos-debug os: macos-latest config: debug - dotnet: 6.0.x - build: macos-release os: macos-latest config: release - dotnet: 6.0.x - build: windows-debug os: windows-2019 config: debug - dotnet: 6.0.x - build: windows-release os: windows-2019 config: release - dotnet: 6.0.x steps: - uses: actions/checkout@v2 - uses: actions/setup-dotnet@v1 with: - dotnet-version: ${{ matrix.dotnet }} + dotnet-version: 6.0.x + - uses: actions/setup-dotnet@v1 + with: + dotnet-version: 7.0.x # workaround for actions/setup-dotnet#155 - name: Clear package cache run: dotnet clean LLamaSharp.sln && dotnet nuget locals all --clear