From 61ed01976fa421a88ea5d1ec7b13829043eb8216 Mon Sep 17 00:00:00 2001 From: Luke Fisher Date: Sun, 9 Jun 2024 22:50:55 +0100 Subject: [PATCH] Use global.json in GitHub actions --- .github/workflows/ci.yaml | 3 +-- .github/workflows/release.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0eaa25c..711f9ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,8 +20,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: | - 6.x + global-json-file: ./src/global.json - name: Cache NuGet Packages uses: actions/cache@v3 with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 5666cb7..28c5107 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,8 +22,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v3 with: - dotnet-version: | - 6.x + global-json-file: ./src/global.json - name: Cache NuGet Packages uses: actions/cache@v3 with: