forked from openai/chatkit-python
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 791 Bytes
/
Copy pathrelease.yml
File metadata and controls
36 lines (29 loc) · 791 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: Release PyPI
on:
release:
types:
- published
workflow_dispatch:
permissions:
contents: read
id-token: write
jobs:
release:
name: Release PyPI
environment:
name: pypi
url: https://pypi.org/p/openai-chatkit
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Setup uv
uses: astral-sh/setup-uv@e58605a9b6da7c637471fab8847a5e5a6b8df081 # v5
with:
enable-cache: true
- name: Install dependencies
run: make install
- name: Build package
run: make build
- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # release/v1