File tree Expand file tree Collapse file tree 3 files changed +32
-16
lines changed
Expand file tree Collapse file tree 3 files changed +32
-16
lines changed Original file line number Diff line number Diff line change 1- name : Publish Python Package 🐍
1+ name : Publish Python Package
22
33on :
44 release :
99 runs-on : ubuntu-latest
1010
1111 steps :
12- - uses : actions/checkout@v3
12+ - uses : actions/checkout@v4
13+
1314 - name : Set up Python
14- uses : actions/setup-python@v3
15+ uses : actions/setup-python@v5
1516 with :
16- python-version : " 3.10"
17-
18- - name : Install setup dependencies
19- run : make setup_dependencies
17+ python-version : ' 3.12'
2018
21- - name : Install dependencies
22- run : make build
19+ - name : Install build dependencies
20+ run : |
21+ pip install --upgrade pip setuptools wheel build
2322
2423 - name : Build package
2524 run : python -m build
2625
27- - name : Publish package to TestPYPI
28- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
26+ - name : Publish to TestPyPI
27+ uses : pypa/gh-action-pypi-publish@release/v1
2928 with :
30- user : __token__
3129 password : ${{ secrets.TEST_PYPI_TOKEN }}
32- repository_url : https://test.pypi.org/legacy/
30+ repository-url : https://test.pypi.org/legacy/
3331
34- - name : Publish package to PYPI
35- uses : pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
32+ - name : Publish to PyPI
33+ uses : pypa/gh-action-pypi-publish@release/v1
3634 with :
37- user : __token__
3835 password : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change 1+ name : Release Please
2+
3+ on :
4+ push :
5+ branches : [ "master" ]
6+
7+ permissions :
8+ contents : write
9+ pull-requests : write
10+
11+ jobs :
12+ release-please :
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : googleapis/release-please-action@v4
17+ with :
18+ token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 11pydantic ~= 2.11.4
22httpx ~= 0.28.1
33pytest ~= 8.3.5
4+ pytest-asyncio ~= 0.25.0
You can’t perform that action at this time.
0 commit comments