Update CI workflow to use local actions for Node.js and Python setup
Some checks failed
CI / build (push) Has been cancelled
Some checks failed
CI / build (push) Has been cancelled
This commit is contained in:
@ -14,11 +14,19 @@ jobs:
|
||||
run: |
|
||||
git clone http://114.67.155.184:3000/niyyzf/checkout.git ./.actions/checkout
|
||||
|
||||
- name: 克隆本地 setup-node action
|
||||
run: |
|
||||
git clone http://114.67.155.184:3000/niyyzf/setup-node.git ./.actions/setup-node
|
||||
|
||||
- name: 克隆本地 setup-python action
|
||||
run: |
|
||||
git clone http://114.67.155.184:3000/niyyzf/setup-python.git ./.actions/setup-python
|
||||
|
||||
- name: 检出代码
|
||||
uses: ./.actions/checkout
|
||||
|
||||
- name: 设置 Node.js
|
||||
uses: actions/setup-node@v3
|
||||
uses: ./.actions/setup-node
|
||||
with:
|
||||
node-version: '18'
|
||||
|
||||
@ -31,7 +39,7 @@ jobs:
|
||||
run: npm run build
|
||||
|
||||
- name: 设置 Python
|
||||
uses: actions/setup-python@v4
|
||||
uses: ./.actions/setup-python
|
||||
with:
|
||||
python-version: '3.10'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user