Skip to content

Commit

Permalink
Tentative de correction de l'echec d'authentification pour la publica…
Browse files Browse the repository at this point in the history
…tion du TAG - 4
  • Loading branch information
Allan-CodeWorks committed Jan 15, 2024
1 parent a5985df commit a1ede73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,12 +110,10 @@ jobs:
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
env:
PYPI_USERNAME: __token__
PYPI_PASSWORD: ${{ secrets.OPENFISCA_PARIS_TEST_PYPI }}
steps:
- name: Upload a Python package to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
# With statement only to specify testPy destination, Pypi is default
with:
repository-url: https://test.pypi.org/legacy/
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Fetch all the tags
Expand All @@ -135,5 +133,10 @@ jobs:
with:
path: dist
key: release-${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ github.sha }}-${{ matrix.openfisca-dependencies }}
- name: Upload a Python package to PyPi
uses: pypa/gh-action-pypi-publish@release/v1
# With statement only to specify testPy destination, Pypi is default
with:
repository-url: https://test.pypi.org/legacy/
- name: Publish a git tag
run: "${GITHUB_WORKSPACE}/.github/publish-git-tag.sh"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="OpenFisca-Paris-test-trusted-publisher",
version="5.4.3",
version="5.4.4",
author="OpenFisca Team",
author_email="[email protected]",
classifiers=[
Expand Down

0 comments on commit a1ede73

Please sign in to comment.