Skip to content

Commit

Permalink
Modifie le job de déploiement dans la CI pour autoriser le trusted p…
Browse files Browse the repository at this point in the history
…ublishing (#158)
  • Loading branch information
Allan-CodeWorks authored Mar 12, 2024
1 parent 0cde574 commit 6584044
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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"
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="Openfisca-Paris",
version="5.5.0",
version="5.5.1",
author="OpenFisca Team",
author_email="[email protected]",
classifiers=[
Expand All @@ -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",

Expand Down

0 comments on commit 6584044

Please sign in to comment.