File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Publish privJedAI to PyPi
2+
3+ on :
4+ release :
5+ types : [published]
6+
7+ jobs :
8+ build-and-publish :
9+ name : Build and publish Python distribution to PyPI
10+ runs-on : ubuntu-latest
11+
12+ # This environment matches the one you set up in PyPI
13+ environment :
14+ name : pypi
15+ url : https://pypi.org/p/privjedai
16+
17+ permissions :
18+ id-token : write
19+ contents : read
20+
21+ steps :
22+ - name : Checkout repository
23+ uses : actions/checkout@v4
24+
25+ - name : Set up Python
26+ uses : actions/setup-python@v5
27+ with :
28+ python-version : " 3.x"
29+
30+ - name : Install build dependencies
31+ run : |
32+ python -m pip install --upgrade pip
33+ pip install build
34+
35+ - name : Build binary wheel and source tarball
36+ run : python -m build
37+
38+ - name : Publish to PyPI
39+ uses : pypa/gh-action-pypi-publish@release/v1
You can’t perform that action at this time.
0 commit comments