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