Skip to content

Commit 8560162

Browse files
Merge pull request #76 from kevinbackhouse/do-testpypi-last
Move TestPyPI to the end, so it can't stop the other steps from succeeding
2 parents cd3651c + 34dc9c3 commit 8560162

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/publish-to-pypi.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ jobs:
4545
name: python-package-distributions
4646
path: dist/
4747

48-
- name: Publish to TestPyPI
49-
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
50-
with:
51-
repository-url: https://test.pypi.org/legacy/
52-
verbose: true
53-
5448
- name: Publish to PyPI
5549
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
5650
with:
@@ -68,3 +62,10 @@ jobs:
6862
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6963
RELEASE_NAME: ${{ github.ref_name }}
7064
run: gh release create $RELEASE_NAME dist/* --repo $GITHUB_REPO --generate-notes
65+
66+
- name: Publish to TestPyPI
67+
uses: pypa/gh-action-pypi-publish@ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e # v1.13.0
68+
with:
69+
repository-url: https://test.pypi.org/legacy/
70+
verbose: true
71+
attestations: false

0 commit comments

Comments
 (0)