From 0355b228ce89fbd99a41ad8e08b0e06c7dd3b75e Mon Sep 17 00:00:00 2001 From: Eric Zhu Date: Thu, 13 Feb 2025 14:18:49 -0800 Subject: [PATCH] fix: update 0.2 deployment workflow to use tag input instead of branch (#5536) --- .github/workflows/python-package-0.2.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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: |