From 38298bc8f0c80acd994784ec7d828770223c8531 Mon Sep 17 00:00:00 2001 From: Michael Mi Date: Fri, 17 May 2024 01:39:46 -0700 Subject: [PATCH] [fix] rename workflows --- .github/workflows/{build_whl.yml => build_wheel.yml} | 2 +- .../{release_cpp.yml => publish_cpp_image.yml} | 0 .../workflows/{publish_whl.yml => publish_wheel.yml} | 10 ++++++++-- 3 files changed, 9 insertions(+), 3 deletions(-) rename .github/workflows/{build_whl.yml => build_wheel.yml} (99%) rename .github/workflows/{release_cpp.yml => publish_cpp_image.yml} (100%) rename .github/workflows/{publish_whl.yml => publish_wheel.yml} (89%) diff --git a/.github/workflows/build_whl.yml b/.github/workflows/build_wheel.yml similarity index 99% rename from .github/workflows/build_whl.yml rename to .github/workflows/build_wheel.yml index fd6e3017..aaf3e84d 100644 --- a/.github/workflows/build_whl.yml +++ b/.github/workflows/build_wheel.yml @@ -1,4 +1,4 @@ -name: Release wheel +name: Build wheel on: workflow_dispatch: inputs: diff --git a/.github/workflows/release_cpp.yml b/.github/workflows/publish_cpp_image.yml similarity index 100% rename from .github/workflows/release_cpp.yml rename to .github/workflows/publish_cpp_image.yml diff --git a/.github/workflows/publish_whl.yml b/.github/workflows/publish_wheel.yml similarity index 89% rename from .github/workflows/publish_whl.yml rename to .github/workflows/publish_wheel.yml index c5c9e07d..3a2c5eab 100644 --- a/.github/workflows/publish_whl.yml +++ b/.github/workflows/publish_wheel.yml @@ -1,6 +1,12 @@ -name: Release wheel +name: Publish wheel on: workflow_dispatch: + +# Build & Push scalellm docker image on creation of tags to https://hub.docker.com/r/vectorchai/scalellm +# Push events to matching v*, i.e. v1.0.0, v1.0.0-rc1, v20.15.10-rc5, etc. + push: + tags: + - v[0-9]+.[0-9]+.[0-9]+* env: # Tells where to store caches. CI_CACHE_DIR: ${{ github.workspace }}/../../ci_cache @@ -56,7 +62,7 @@ jobs: name: wheel-cuda${{ matrix.cuda }}-torch${{ matrix.torch }}-python${{ matrix.python }} path: python/dist/* - publish_whl: + publish_wheel: needs: build_wheel runs-on: ubuntu-latest permissions: