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

This commit is contained in:
Eric Zhu 2025-02-13 14:18:49 -08:00 committed by GitHub
parent e6423bb862
commit 0355b228ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -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: |