mirror of https://github.com/microsoft/autogen.git
fix: update 0.2 deployment workflow to use tag input instead of branch (#5536)
This commit is contained in:
parent
e6423bb862
commit
0355b228ce
|
@ -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: |
|
||||||
|
|
Loading…
Reference in New Issue