Skip to content

Commit

Permalink
Update pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinitto committed Feb 10, 2024
1 parent 9b689f2 commit 232128c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:

steps:
- name: Checkout the commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -38,17 +38,18 @@ jobs:
run: |
cd $GITHUB_WORKSPACE
pytest
release:
docs:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: test
steps:
- name: Checkout the commit
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Python 3.8
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: "3.8"

Expand All @@ -59,11 +60,8 @@ jobs:
python --version
pip install -r requirements.txt
- name: Build
run: |
python -m build
run: python -m build
- name: Deploy docs
run: |
mkdocs gh-deploy --force
run: mkdocs gh-deploy --force
- name: Upload to pypi
run: |
twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/*
run: twine upload --skip-existing -u __token__ -p ${{ secrets.TINI_PYPI_TOKEN }} dist/*
13 changes: 13 additions & 0 deletions docs/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.5.0] - 2024-02-10

### Added

### Changed

- Upgraded to pydantic v2.

### Fixed

- Fixed orjson.JSONDecodeError when models have optional string fields
- Fixed ModuleNotFoundError: No module named 'mkdocstrings_handlers'

## [0.4.3] - 2022-12-29

### Added
Expand Down

0 comments on commit 232128c

Please sign in to comment.