This commit is contained in:
@@ -6,13 +6,13 @@ jobs:
|
|||||||
test:
|
test:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Setup
|
||||||
run: |
|
run: |
|
||||||
rm -rf * .gitignore 2>/dev/null || true
|
if [ ! -f setup.py ]; then
|
||||||
git init
|
git clone https://gitea.com/7000pctAUTO/json-to-openapi /tmp/repo
|
||||||
git remote add origin https://gitea.com/7000pctAUTO/json-to-openapi
|
cp -r /tmp/repo/* .
|
||||||
git fetch
|
cp -r /tmp/repo/.* . 2>/dev/null || true
|
||||||
git checkout main
|
fi
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
python3 -m ensurepip --upgrade 2>/dev/null || true
|
python3 -m ensurepip --upgrade 2>/dev/null || true
|
||||||
|
|||||||
Reference in New Issue
Block a user