mirror of
https://github.com/microsoft/autogen.git
synced 2026-04-20 03:02:16 -04:00
add package workflow for 0.2 (#3892)
* add package workflow for 0.2 * Update workflow
This commit is contained in:
30
.github/python-package-0.2.yml
vendored
Normal file
30
.github/python-package-0.2.yml
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
name: AgentChat 0.2 Pypi Package
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "0.2.*"
|
||||
workflow_dispatch:
|
||||
permissions: {}
|
||||
jobs:
|
||||
deploy:
|
||||
strategy:
|
||||
matrix:
|
||||
os: ["ubuntu-latest"]
|
||||
python-version: [3.10]
|
||||
runs-on: ${{ matrix.os }}
|
||||
environment:
|
||||
name: package
|
||||
url: https://pypi.org/p/autogen-agentchat
|
||||
permissions:
|
||||
id-token: write
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- name: Build
|
||||
shell: pwsh
|
||||
run: |
|
||||
pip install twine
|
||||
python setup.py sdist bdist_wheel
|
||||
- name: Publish package to PyPI
|
||||
uses: pypa/gh-action-pypi-publish@release/v1
|
||||
Reference in New Issue
Block a user