back to prod

This commit is contained in:
Xi Yan 2025-01-10 16:21:15 -08:00
parent 07bbfad0b3
commit 285d8e12f2

View file

@ -1,15 +1,14 @@
name: Publish Python 🐍 distribution 📦 to TestPyPI name: Publish Python 🐍 distribution 📦 to TestPyPI
on: on:
push workflow_dispatch: # Keep manual trigger
# workflow_dispatch: # Keep manual trigger inputs:
# inputs: version:
# version: description: 'Version number (e.g. 0.0.63.dev20250111)'
# description: 'Version number (e.g. 0.0.63.dev20250111)' required: true
# required: true type: string
# type: string schedule:
# schedule: - cron: "0 0 * * *" # Run every day at midnight
# - cron: "0 0 * * *" # Run every day at midnight
jobs: jobs:
trigger-client-and-models-build: 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 }}\"}}" \ --data "{\"event_type\": \"build-models-package\", \"client_payload\": {\"source\": \"llama-stack-nightly\", \"version\": \"${{ steps.version.outputs.version }}\"}}" \
-w "\n%{http_code}") -w "\n%{http_code}")
# tmp print response
echo $response
http_code=$(echo "$response" | tail -n1) http_code=$(echo "$response" | tail -n1)
if [ "$http_code" != "204" ]; then if [ "$http_code" != "204" ]; then
echo "Failed to trigger models workflow" echo "Failed to trigger models workflow"