Skip to content

Commit

Permalink
Adapte le code pour tester le déploiement sur pypi test
Browse files Browse the repository at this point in the history
  • Loading branch information
Allan-CodeWorks committed Jan 15, 2024
1 parent 5610997 commit e280fec
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
# The `deploy` job is dependent on the output of the `check-for-functional-changes` job.
check-for-functional-changes:
runs-on: ubuntu-20.04
if: github.ref == 'refs/heads/master' # Only triggered for the `master` branch
# if: github.ref == 'refs/heads/master' # Only triggered for the `master` branch
needs: [ check-version ]
outputs:
status: ${{ steps.stop-early.outputs.status }}
Expand Down Expand Up @@ -132,5 +132,8 @@ jobs:
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"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
from setuptools import setup, find_namespace_packages

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

0 comments on commit e280fec

Please sign in to comment.