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