Skip to content

Commit 232128c

Browse files
committed
Update pypi publish
1 parent 9b689f2 commit 232128c

File tree

2 files changed

+22
-11
lines changed

2 files changed

+22
-11
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020

2121
steps:
2222
- name: Checkout the commit
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Set up Python ${{ matrix.python-version }}
26-
uses: actions/setup-python@v3
26+
uses: actions/setup-python@v5
2727
with:
2828
python-version: ${{ matrix.python-version }}
2929

@@ -38,17 +38,18 @@ jobs:
3838
run: |
3939
cd $GITHUB_WORKSPACE
4040
pytest
41-
release:
41+
42+
docs:
4243
name: Release
4344
runs-on: ubuntu-latest
4445
if: "startsWith(github.ref, 'refs/tags/')"
4546
needs: test
4647
steps:
4748
- name: Checkout the commit
48-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
4950

5051
- name: Set up Python 3.8
51-
uses: actions/setup-python@v3
52+
uses: actions/setup-python@v5
5253
with:
5354
python-version: "3.8"
5455

@@ -59,11 +60,8 @@ jobs:
5960
python --version
6061
pip install -r requirements.txt
6162
- name: Build
62-
run: |
63-
python -m build
63+
run: python -m build
6464
- name: Deploy docs
65-
run: |
66-
mkdocs gh-deploy --force
65+
run: mkdocs gh-deploy --force
6766
- name: Upload to pypi
68-
run: |
69-
twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/*
67+
run: twine upload --skip-existing -u __token__ -p ${{ secrets.TINI_PYPI_TOKEN }} dist/*

docs/change-log.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [0.5.0] - 2024-02-10
11+
12+
### Added
13+
14+
### Changed
15+
16+
- Upgraded to pydantic v2.
17+
18+
### Fixed
19+
20+
- Fixed orjson.JSONDecodeError when models have optional string fields
21+
- Fixed ModuleNotFoundError: No module named 'mkdocstrings_handlers'
22+
1023
## [0.4.3] - 2022-12-29
1124

1225
### Added

0 commit comments

Comments
 (0)