Skip to content

Commit b341dfd

Browse files
committed
Update workflows
1 parent b66c02b commit b341dfd

File tree

1 file changed

+13
-11
lines changed

1 file changed

+13
-11
lines changed

.github/workflows/publish-package.yaml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -85,16 +85,18 @@ jobs:
8585
name: dist-package-3.11
8686
path: dist
8787

88-
# - name: Publish distribution 📦 to Test PyPI
89-
# uses: pypa/gh-action-pypi-publish@release/v1
90-
# with:
91-
# skip_existing: true
92-
# user: __token__
93-
# password: ${{ secrets.test_pypi_password }}
94-
# repository_url: https://test.pypi.org/legacy/
95-
96-
- name: Publish distribution 📦 to PyPI
88+
- name: Publish to Test PyPI
9789
uses: pypa/gh-action-pypi-publish@release/v1
9890
with:
99-
user: __token__
100-
password: ${{ secrets.pypi_password }}
91+
repository-url: https://test.pypi.org/legacy/
92+
skip-existing: true
93+
attestations: true
94+
95+
- name: Clean existing attestations
96+
run: rm -f dist/*.intoto.jsonl
97+
98+
- name: Publish to PyPI
99+
uses: pypa/gh-action-pypi-publish@release/v1
100+
with:
101+
skip-existing: true
102+
attestations: true

0 commit comments

Comments
 (0)