We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a916a49 commit baaf83cCopy full SHA for baaf83c
1 file changed
.github/workflows/release.yaml
@@ -9,14 +9,15 @@ jobs:
9
name: Publish to PyPi
10
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
11
runs-on: [self-hosted, linux, x64]
12
+ permissions:
13
+ id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
14
steps:
15
- name: Checkout source
16
uses: actions/checkout@v4
17
- uses: ./.github/actions/setup_rye
18
- name: Build package
19
run: rye build
20
- name: Publish package
- uses: pypa/gh-action-pypi-publish@master
21
+ uses: pypa/gh-action-pypi-publish@release/v1
22
with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
23
+ packages-dir: ./dist/
0 commit comments