Skip to content

Commit b14f80e

Browse files
committed
Use testpypi for test
1 parent 225166d commit b14f80e

2 files changed

Lines changed: 9 additions & 4 deletions

File tree

.github/workflows/publish-nightly-package.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ jobs:
4242
ubuntu_version: [22.04]
4343

4444
environment:
45-
name: pypi
46-
url: https://pypi.org/p/TICO
45+
name: testpypi
46+
url: https://test.pypi.org/p/TICO
4747

4848
permissions:
4949
id-token: write # IMPORTANT: mandatory for trusted publishing
@@ -57,3 +57,5 @@ jobs:
5757

5858
- name: "Publish distribution to PyPI"
5959
uses: pypa/gh-action-pypi-publish@release/v1
60+
with:
61+
repository-url: https://test.pypi.org/legacy/

.github/workflows/publish-official-package.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@ jobs:
5454
runs-on: ubuntu-22.04
5555

5656
environment:
57-
name: pypi
58-
url: https://pypi.org/p/TICO
57+
name: testpypi
58+
url: https://test.pypi.org/p/TICO
59+
5960

6061
permissions:
6162
id-token: write # IMPORTANT: mandatory for trusted publishing
@@ -69,3 +70,5 @@ jobs:
6970

7071
- name: "Publish distribution to PyPI"
7172
uses: pypa/gh-action-pypi-publish@release/v1
73+
with:
74+
repository-url: https://test.pypi.org/legacy/

0 commit comments

Comments
 (0)