Skip to content

Commit

Permalink
Merge pull request #307 from mc-keith/update-python-publish-action
Browse files Browse the repository at this point in the history
Update gh-action-pypi-publish branch in workflows
  • Loading branch information
mc-keith authored Aug 2, 2022
2 parents a23890c + 440c7cb commit a12d4c3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release-marketing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -625,15 +625,15 @@ jobs:

- name: Publish → PyPI → marketing-python (test)
if: env.PUBLISH_EXTERNAL == 'true'
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN_TEST }}
repository_url: https://test.pypi.org/legacy/
packages_dir: marketing-python/dist

- name: Publish → PyPI → marketing-python (dist)
if: env.PUBLISH_EXTERNAL == 'true'
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: marketing-python/dist
4 changes: 2 additions & 2 deletions .github/workflows/create-release-transactional.yml
Original file line number Diff line number Diff line change
Expand Up @@ -611,15 +611,15 @@ jobs:

- name: Publish → PyPI → transactional-python (test)
if: env.PUBLISH_EXTERNAL == 'true'
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN_TEST }}
repository_url: https://test.pypi.org/legacy/
packages_dir: transactional-python/dist

- name: Publish → PyPI → marketing-python (dist)
if: env.PUBLISH_EXTERNAL == 'true'
uses: pypa/gh-action-pypi-publish@master
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_TOKEN }}
packages_dir: transactional-python/dist

0 comments on commit a12d4c3

Please sign in to comment.