From e1e04d7554a40d5b362f85f73ad38a1f5a6675e0 Mon Sep 17 00:00:00 2001 From: 7000pctAUTO Date: Sun, 1 Feb 2026 05:26:42 +0000 Subject: [PATCH] Try cp from temp dir --- .gitea/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index b950b3e..3dfd06c 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -6,13 +6,13 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Setup run: | - rm -rf * .gitignore 2>/dev/null || true - git init - git remote add origin https://gitea.com/7000pctAUTO/json-to-openapi - git fetch - git checkout main + if [ ! -f setup.py ]; then + git clone https://gitea.com/7000pctAUTO/json-to-openapi /tmp/repo + cp -r /tmp/repo/* . + cp -r /tmp/repo/.* . 2>/dev/null || true + fi - name: Install run: | python3 -m ensurepip --upgrade 2>/dev/null || true