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