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 ef44b53 commit e7ac86fCopy full SHA for e7ac86f
.github/workflows/publish.yml
@@ -13,23 +13,28 @@ on:
13
types: [published]
14
15
jobs:
16
- deploy:
+ publish:
17
runs-on: ubuntu-latest
18
+ permissions:
19
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
20
+
21
steps:
22
- uses: actions/checkout@v4
23
- name: Set up Python
24
uses: actions/setup-python@v5
25
with:
26
python-version: '3.11'
27
cache-dependency-path: poetry.lock
28
29
- name: Install dependencies
30
run: |
31
python -m pip install --upgrade pip
32
pip install build
33
34
- name: Build package
35
run: python -m build
- - name: Publish package
36
37
+ - name: Publish package to pypi
38
uses: pypa/[email protected]
39
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
40
+ print_hash: true
0 commit comments