From eec3f42fe0823b037122c53d5da3dc67f372627c Mon Sep 17 00:00:00 2001 From: Simone Date: Sun, 17 May 2026 20:28:39 +0200 Subject: [PATCH] ci: single build-command for ns7zip (Linux has python) Linux template provides `python`, so the OS-aware split is unnecessary. Use `python build_plugin.py` for both matrix legs. Co-Authored-By: Claude Opus 4.7 --- .gitea/workflows/build-ns7zip.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitea/workflows/build-ns7zip.yml b/.gitea/workflows/build-ns7zip.yml index 7d0e6d4..8331213 100644 --- a/.gitea/workflows/build-ns7zip.yml +++ b/.gitea/workflows/build-ns7zip.yml @@ -31,8 +31,7 @@ jobs: # configs by default; --final/--dist-dir do not exist (they were # forwarded to the per-version script and rejected). Output DLLs # are copied to /plugins/{x86-ansi,x86-unicode,amd64-unicode}. - # Ubuntu 24.04 has no `python`, use `python3` on the Linux leg. - build-command: ${{ matrix.target == 'linux' && 'python3 build_plugin.py' || 'python build_plugin.py' }} + build-command: 'python build_plugin.py' artifact-source: 'plugins' submodules: 'true' guest-os: ${{ matrix.target == 'linux' && 'Linux' || 'Windows' }}