We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0f0187 commit 3f1b0bcCopy full SHA for 3f1b0bc
.github/workflows/publish.yml
@@ -0,0 +1,32 @@
1
+name: Publish Copychat to PyPI
2
+on:
3
+ release:
4
+ types: [published]
5
+ workflow_dispatch:
6
+
7
+jobs:
8
+ publish-pypi-release:
9
+ runs-on: ubuntu-latest
10
+ environment: release
11
+ permissions:
12
+ contents: write
13
+ id-token: write
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v4
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: "3.11"
21
+ cache: pip
22
+ cache-dependency-path: "**/pyproject.toml"
23
+ - name: Install dependencies
24
+ run: |
25
+ pip install setuptools wheel build
26
+ - name: Build
27
28
+ python -m build
29
+ - name: Publish
30
+ uses: pypa/gh-action-pypi-publish@release/v1
31
32
+ verbose: true
0 commit comments