Try cp from temp dir
Some checks failed
CI / test (push) Failing after 2s

This commit is contained in:
2026-02-01 05:26:42 +00:00
parent 085ab55efb
commit e1e04d7554

View File

@@ -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