mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 09:21:45 +00:00
change schedule
This commit is contained in:
parent
6c3b9fa09b
commit
a45ce85ec1
1 changed files with 4 additions and 5 deletions
9
.github/workflows/publish-to-test-pypi.yml
vendored
9
.github/workflows/publish-to-test-pypi.yml
vendored
|
@ -1,10 +1,9 @@
|
|||
name: Publish Python 🐍 distribution 📦 to PyPI and TestPyPI
|
||||
|
||||
on:
|
||||
push
|
||||
# workflow_dispatch: # Keep manual trigger
|
||||
# schedule:
|
||||
# - cron: "0 0 * * *" # Run every day at midnight
|
||||
workflow_dispatch: # Keep manual trigger
|
||||
schedule:
|
||||
- cron: "0 0 * * *" # Run every day at midnight
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -22,7 +21,7 @@ jobs:
|
|||
id: sha
|
||||
run: echo "sha=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
|
||||
- name: Update version for nightly
|
||||
# if: github.event_name == 'schedule'
|
||||
if: github.event_name == 'schedule'
|
||||
run: |
|
||||
# Assuming your version is in setup.py or pyproject.toml
|
||||
sed -i 's/version="\([^"]*\)"/version="\1rc${{ steps.date.outputs.date }}"/' setup.py
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue