From 053b6139a105e5e1cf48539a06958857768e03bf Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Mon, 29 Jan 2024 14:22:54 +0100 Subject: [PATCH] ci: adjust to use global.json instead --- .gitea/workflows/server.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/server.yaml b/.gitea/workflows/server.yaml index b7a6ae7..0634b10 100644 --- a/.gitea/workflows/server.yaml +++ b/.gitea/workflows/server.yaml @@ -24,7 +24,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: 8.0 + global-json-file: global.json - name: Install dependencies run: dotnet restore - name: Build @@ -42,7 +42,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: 8.0 + global-json-file: global.json - name: Install dependencies run: | dotnet restore @@ -73,9 +73,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: | - 7.0 - 8.0 + global-json-file: global.json - name: Install dependencies run: | dotnet restore @@ -106,7 +104,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: 8.0 + global-json-file: global.json # Add support for more platforms with QEMU (optional) # https://github.com/docker/setup-qemu-action - name: Set up QEMU @@ -146,7 +144,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: 8.0 + global-json-file: global.json - name: Install dependencies run: | dotnet restore @@ -187,7 +185,7 @@ jobs: - name: Setup dotnet uses: https://github.com/actions/setup-dotnet@v3 with: - dotnet-version: 7.0 + global-json-file: global.json - name: Install dependencies run: | dotnet restore