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.*" - "0.2.*"
workflow_dispatch: workflow_dispatch:
inputs: inputs:
branch: tag:
description: 'Branch to deploy the package' description: 'Tag to deploy the package'
required: true required: true
default: '0.2'
permissions: {} permissions: {}
jobs: jobs:
deploy: deploy:
@ -27,7 +26,7 @@ jobs:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.inputs.branch }} ref: ${{ github.event.inputs.tag }}
- name: Build - name: Build
shell: pwsh shell: pwsh
run: | run: |