We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 928e5c5 commit 37d545aCopy full SHA for 37d545a
.github/workflows/pypi.yml
@@ -14,8 +14,17 @@ env:
14
jobs:
15
build-and-publish:
16
runs-on: ubuntu-latest
17
+ environment:
18
+ name: pypi
19
+ url: https://pypi.org/p/docling-core
20
+ permissions:
21
+ id-token: write # IMPORTANT: mandatory for trusted publishing
22
steps:
- - uses: actions/checkout@v3
23
+ - uses: actions/checkout@v4
24
- uses: ./.github/actions/setup-poetry
25
- name: Build and publish
- run: poetry publish --build --no-interaction --username=__token__ --password=${{ secrets.PYPI_TOKEN }}
26
+ run: poetry publish build
27
+ - name: Publish distribution 📦 to PyPI
28
+ uses: pypa/gh-action-pypi-publish@release/v1
29
+ with:
30
+ attestations: true
0 commit comments