Skip to content

A programming framework for agentic AI

fix: update 0.2 deployment workflow to use tag input instead of branch (#5536)

Eric Zhu0355b228ce89
diff --git a/.github/workflows/python-package-0.2.yml b/.github/workflows/python-package-0.2.yml
index aa7591e0a..ffa6f842b 100644
--- a/.github/workflows/python-package-0.2.yml
+++ b/.github/workflows/python-package-0.2.yml
@@ -6,10 +6,9 @@ on:
- "0.2.*"
workflow_dispatch:
inputs:
- branch:
- description: 'Branch to deploy the package'
+ tag:
+ description: 'Tag to deploy the package'
required: true
- default: '0.2'
permissions: {}
jobs:
deploy:
@@ -27,7 +26,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
- ref: ${{ github.event.inputs.branch }}
+ ref: ${{ github.event.inputs.tag }}
- name: Build
shell: pwsh
run: |