This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user