fix incorrect type serialization when dumping to python #267
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish project | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish_project: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
steps: | |
- uses: actions/checkout@v3 | |
- name: get tags | |
run: git fetch --tags origin | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: install dependencies | |
run: pip install .[ci] | |
- name: install flit | |
run: pip install flit | |
- name: update version or publish | |
env: | |
FLIT_USERNAME: __token__ | |
FLIT_PASSWORD: ${{ secrets.FLIT_PASSWORD }} | |
run: python .github/scripts/handlers/version.py |