This commit is contained in:
@@ -20,7 +20,13 @@ jobs:
|
|||||||
--health-timeout 5s
|
--health-timeout 5s
|
||||||
--health-retries 20
|
--health-retries 20
|
||||||
steps:
|
steps:
|
||||||
- uses: https://gitea.com/actions/checkout@v4
|
- name: Checkout repository
|
||||||
|
env:
|
||||||
|
REPOSITORY_URL: http://117.72.28.96:8765/Jacky/Hulumath-Web.git
|
||||||
|
REVISION: ${{ gitea.sha }}
|
||||||
|
run: |
|
||||||
|
git clone "$REPOSITORY_URL" .
|
||||||
|
git checkout --detach "$REVISION"
|
||||||
- name: Show Python version
|
- name: Show Python version
|
||||||
run: python3 --version
|
run: python3 --version
|
||||||
- name: Install MySQL build dependencies
|
- name: Install MySQL build dependencies
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ jobs:
|
|||||||
--health-retries 20
|
--health-retries 20
|
||||||
steps:
|
steps:
|
||||||
- name: 检出 main
|
- name: 检出 main
|
||||||
uses: https://gitea.com/actions/checkout@v4
|
env:
|
||||||
with:
|
REPOSITORY_URL: http://117.72.28.96:8765/Jacky/Hulumath-Web.git
|
||||||
ref: main
|
run: git clone --branch main --single-branch "$REPOSITORY_URL" .
|
||||||
|
|
||||||
- name: 显示 Python 版本
|
- name: 显示 Python 版本
|
||||||
run: python3 --version
|
run: python3 --version
|
||||||
|
|||||||
Reference in New Issue
Block a user