From 53242aae29a1bb29fb37e6005dd824fd6b09edcb Mon Sep 17 00:00:00 2001 From: Aleksandr Meshchriakov Date: Mon, 23 Mar 2026 11:26:57 +0100 Subject: [PATCH] fix(ci): write workspace artifact outside checkout --- .gitea/workflows/ci-cd.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 93143e5..5398198 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -169,13 +169,13 @@ jobs: if: success() run: | set -euo pipefail + WORKSPACE_ARCHIVE="/tmp/ci-test-workspace.tar.gz" tar \ --exclude='.git' \ - --exclude='ci-test-workspace.tar.gz' \ --exclude='.pytest_cache' \ --exclude='htmlcov' \ --exclude='__pycache__' \ - -czf ci-test-workspace.tar.gz \ + -czf "${WORKSPACE_ARCHIVE}" \ . - name: Upload prepared test workspace @@ -183,7 +183,7 @@ jobs: uses: actions/upload-artifact@v4 with: name: ci-test-workspace - path: ci-test-workspace.tar.gz + path: /tmp/ci-test-workspace.tar.gz if-no-files-found: error retention-days: 1