From badb5056c986ed1ecb84a023cc2204df9075a24d Mon Sep 17 00:00:00 2001 From: magdev Date: Sun, 3 May 2026 10:03:31 +0200 Subject: [PATCH] ci: pin Qt install dir for act-runner (runner.temp comes through empty) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit install-qt-action defaults `dir:` to `${{ runner.temp }}` if unset. GitHub-hosted runners populate runner.temp; Gitea/Forgejo's act-runner leaves it as the empty string. The action then rejects the empty path with `TypeError: "dir" input may not be empty`. Hardcoding `dir: ${{ github.workspace }}/qt` works on both — workspace is always populated and writable, and the path is inside the job's working tree so it's auto-cleaned with the workspace. Same change in ci.yml and release.yml. Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitea/workflows/ci.yml | 1 + .gitea/workflows/release.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 4d17637..6fd4a88 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -55,6 +55,7 @@ jobs: with: version: '6.5.*' modules: 'qtquickcontrols2' + dir: ${{ github.workspace }}/qt cache: true setup-python: false diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index e5b5041..b7162c6 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -38,6 +38,7 @@ jobs: with: version: '6.5.*' modules: 'qtquickcontrols2' + dir: ${{ github.workspace }}/qt cache: true setup-python: false