mirror of https://github.com/hpcaitech/ColossalAI
[ci] fixed nightly build workflow (#1029)
parent
9b0c037027
commit
ee50497db2
|
@ -61,7 +61,7 @@ jobs:
|
|||
git_ref: ${{ github.event.inputs.github_ref }}
|
||||
- name: Build bdist wheel
|
||||
run: |
|
||||
pip install beautifulsoup4 requests
|
||||
pip install beautifulsoup4 requests packaging
|
||||
python ./build_colossalai_wheel.py
|
||||
- name: 🚀 Deploy
|
||||
uses: garygrossgarten/github-action-scp@release
|
||||
|
|
|
@ -70,12 +70,15 @@ jobs:
|
|||
steps:
|
||||
- name: executing remote ssh commands using password
|
||||
uses: appleboy/ssh-action@master
|
||||
env:
|
||||
BUILD_DIR: ${{ secrets.PRIVATE_PYPI_NIGHTLY_DIR }}
|
||||
with:
|
||||
host: ${{ secrets.PRIVATE_PYPI_HOST }}
|
||||
username: ${{ secrets.PRIVATE_PYPI_USER }}
|
||||
password: ${{ secrets.PRIVATE_PYPI_PASSWD }}
|
||||
envs: BUILD_DIR
|
||||
script: |
|
||||
cd $build_dir
|
||||
cd $BUILD_DIR
|
||||
find . -type f -mtime +0 -exec rm -f {} +
|
||||
env:
|
||||
build_dir: ${{ secrets.PRIVATE_PYPI_NIGHTLY_DIR }}
|
||||
script_stop: true
|
||||
|
||||
|
|
Loading…
Reference in New Issue