From 285d8e12f2560388643b55123ff845ee36ef64ab Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Fri, 10 Jan 2025 16:21:15 -0800 Subject: [PATCH] back to prod --- .github/workflows/publish-to-test-pypi.yml | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-to-test-pypi.yml b/.github/workflows/publish-to-test-pypi.yml index 671ebe012..1ba1cac7a 100644 --- a/.github/workflows/publish-to-test-pypi.yml +++ b/.github/workflows/publish-to-test-pypi.yml @@ -1,15 +1,14 @@ name: Publish Python 🐍 distribution 📦 to TestPyPI on: - push - # workflow_dispatch: # Keep manual trigger - # inputs: - # version: - # description: 'Version number (e.g. 0.0.63.dev20250111)' - # required: true - # type: string - # schedule: - # - cron: "0 0 * * *" # Run every day at midnight + workflow_dispatch: # Keep manual trigger + inputs: + version: + description: 'Version number (e.g. 0.0.63.dev20250111)' + required: true + type: string + schedule: + - cron: "0 0 * * *" # Run every day at midnight jobs: trigger-client-and-models-build: @@ -69,9 +68,6 @@ jobs: --data "{\"event_type\": \"build-models-package\", \"client_payload\": {\"source\": \"llama-stack-nightly\", \"version\": \"${{ steps.version.outputs.version }}\"}}" \ -w "\n%{http_code}") - # tmp print response - echo $response - http_code=$(echo "$response" | tail -n1) if [ "$http_code" != "204" ]; then echo "Failed to trigger models workflow"