diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 0e3ed92..cd7d28b 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -107,9 +107,9 @@ jobs: openfisca-dependencies: [maximal] needs: [ check-for-functional-changes ] if: needs.check-for-functional-changes.outputs.status == 'success' - env: - PYPI_USERNAME: openfisca-bot - PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }} + permissions: + id-token: write + contents: write steps: - uses: actions/checkout@v3 with: @@ -131,6 +131,6 @@ jobs: path: dist key: release-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ github.sha }}-${{ matrix.openfisca-dependencies }} - name: Upload a Python package to PyPi - run: twine upload dist/* --username $PYPI_USERNAME --password $PYPI_PASSWORD + uses: pypa/gh-action-pypi-publish@release/v1 - name: Publish a git tag run: "${GITHUB_WORKSPACE}/.github/publish-git-tag.sh" diff --git a/setup.py b/setup.py index a41abdb..00dc625 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name="Openfisca-Paris", - version="5.5.0", + version="5.5.1", author="OpenFisca Team", author_email="contact@openfisca.fr", classifiers=[ @@ -17,6 +17,7 @@ "Topic :: Scientific/Engineering :: Information Analysis", ], description="Plugin OpenFisca pour les aides sociales de la mairie de Paris", + long_description_content_type='text/markdown', keywords="benefit france paris microsimulation social tax", license="http://www.fsf.org/licensing/licenses/agpl-3.0.html",