mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 18:22:41 +00:00
temp check
This commit is contained in:
parent
9baedf6cfa
commit
07bbfad0b3
1 changed files with 12 additions and 8 deletions
20
.github/workflows/publish-to-test-pypi.yml
vendored
20
.github/workflows/publish-to-test-pypi.yml
vendored
|
@ -1,14 +1,15 @@
|
||||||
name: Publish Python 🐍 distribution 📦 to TestPyPI
|
name: Publish Python 🐍 distribution 📦 to TestPyPI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # Keep manual trigger
|
push
|
||||||
inputs:
|
# workflow_dispatch: # Keep manual trigger
|
||||||
version:
|
# inputs:
|
||||||
description: 'Version number (e.g. 0.0.63.dev20250111)'
|
# version:
|
||||||
required: true
|
# description: 'Version number (e.g. 0.0.63.dev20250111)'
|
||||||
type: string
|
# required: true
|
||||||
schedule:
|
# type: string
|
||||||
- cron: "0 0 * * *" # Run every day at midnight
|
# schedule:
|
||||||
|
# - cron: "0 0 * * *" # Run every day at midnight
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
trigger-client-and-models-build:
|
trigger-client-and-models-build:
|
||||||
|
@ -68,6 +69,9 @@ 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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue