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