Skip to content

Commit baaf83c

Browse files
committed
specified package location
1 parent a916a49 commit baaf83c

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/release.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ jobs:
99
name: Publish to PyPi
1010
# if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags')
1111
runs-on: [self-hosted, linux, x64]
12+
permissions:
13+
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
1214
steps:
1315
- name: Checkout source
1416
uses: actions/checkout@v4
1517
- uses: ./.github/actions/setup_rye
1618
- name: Build package
1719
run: rye build
1820
- name: Publish package
19-
uses: pypa/gh-action-pypi-publish@master
21+
uses: pypa/gh-action-pypi-publish@release/v1
2022
with:
21-
user: __token__
22-
password: ${{ secrets.PYPI_API_TOKEN }}
23+
packages-dir: ./dist/

0 commit comments

Comments
 (0)