Skip to content

Add asyncio support for tritonclient (beta) (#23) #3

Add asyncio support for tritonclient (beta) (#23)

Add asyncio support for tritonclient (beta) (#23) #3

Workflow file for this run

name: Build
on:
push:
tags:
- v*
jobs:
build_dist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build dist and wheel
run: pipx run build --sdist --wheel
- uses: actions/upload-artifact@v4
with:
name: cibw-dist
path: dist/*
upload_pypi:
needs: [build_dist]
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
# with:
# repository-url: https://test.pypi.org/legacy/
upload_release:
needs: [build_dist]
runs-on: ubuntu-latest
steps:
- uses: actions/download-artifact@v4
with:
pattern: cibw-*
path: dist
merge-multiple: true
- name: Release
uses: softprops/action-gh-release@v1
with:
files: dist/*