add back requirements

This commit is contained in:
Xi Yan 2025-01-09 18:35:05 -08:00
parent 2847d70f38
commit 1ea46660a5

View file

@ -1,14 +1,15 @@
name: Publish Python 🐍 distribution 📦 to TestPyPI
on:
workflow_dispatch: # Keep manual trigger
inputs:
rc_version:
description: 'RC version number (e.g., 1, 2, 3)'
required: true
type: string
schedule:
- cron: "0 0 * * *" # Run every day at midnight
push
# workflow_dispatch: # Keep manual trigger
# inputs:
# rc_version:
# description: 'RC version number (e.g., 1, 2, 3)'
# required: true
# type: string
# schedule:
# - cron: "0 0 * * *" # Run every day at midnight
jobs:
trigger-client-build:
@ -54,6 +55,7 @@ jobs:
- name: Update version for nightly
run: |
sed -i 's/version="\([^"]*\)"/version="\1${{ needs.trigger-client-build.outputs.version }}"/' setup.py
sed -i 's/llama-stack-client>=\([^"]*\)/llama-stack-client==\1${{ needs.trigger-client-build.outputs.version }}/' setup.py
- name: Set up Python
uses: actions/setup-python@v5
with: