Skip to content

Commit b91b70e

Browse files
committed
Fix bug in workflow
1 parent f472727 commit b91b70e

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

.github/workflows/publish-package.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,18 @@ jobs:
8888
name: dist-package-3.11
8989
path: dist
9090

91-
# - name: Publish distribution 📦 to Test PyPI
92-
# uses: pypa/gh-action-pypi-publish@release/v1
93-
# with:
94-
# repository-url: https://test.pypi.org/legacy/
95-
# skip-existing: true
96-
# attestations: true
91+
- name: Publish distribution 📦 to Test PyPI
92+
uses: pypa/gh-action-pypi-publish@release/v1
93+
with:
94+
repository-url: https://test.pypi.org/legacy/
95+
skip-existing: true
96+
attestations: true
97+
98+
- name: Clean existing attestations
99+
run: rm -f dist/*.intoto.jsonl
97100

98101
- name: Publish distribution 📦 to PyPI
99102
uses: pypa/gh-action-pypi-publish@release/v1
100103
with:
101104
skip-existing: true
102-
attestations: False
105+
attestations: true

0 commit comments

Comments
 (0)