Skip to content

Commit a12d4c3

Browse files
authored
Merge pull request #307 from mc-keith/update-python-publish-action
Update gh-action-pypi-publish branch in workflows
2 parents a23890c + 440c7cb commit a12d4c3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/create-release-marketing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -625,15 +625,15 @@ jobs:
625625

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

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

.github/workflows/create-release-transactional.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -611,15 +611,15 @@ jobs:
611611

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

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

0 commit comments

Comments
 (0)