From 232bd1a4de58399704a5e3a78e4b7e89c43abd2d Mon Sep 17 00:00:00 2001 From: Nichlas Hoberg Date: Sun, 8 Nov 2026 15:24:20 +0100 Subject: [PATCH] fix: pipeline --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3c82aa8..f0130a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,6 +20,9 @@ env: IMAGE: git.greboh.dev/greboh/hearth-api DOTNET_NOLOGO: true DOTNET_CLI_TELEMETRY_OPTOUT: true + # Inside the runner's shared tool cache, so the SDK and packages carry over between runs. + DOTNET_INSTALL_DIR: /opt/hostedtoolcache/dotnet + NUGET_PACKAGES: /opt/hostedtoolcache/nuget jobs: build: @@ -58,6 +61,10 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + # GitVersion is a .NET tool; Gitea's runner image has no .NET. + - uses: actions/setup-dotnet@v4 + with: + dotnet-version: 10.0.x - uses: gittools/actions/gitversion/setup@v4 with: versionSpec: 6.x