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 7aa9b83 commit d614378Copy full SHA for d614378
.github/workflows/publish.yml
@@ -8,6 +8,13 @@ on:
8
jobs:
9
build-and-publish:
10
runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/project/apple-books-mcp/
14
+ permissions:
15
+ contents: read
16
+ id-token: write
17
+
18
steps:
19
- name: Checkout code
20
uses: actions/checkout@v4
@@ -32,8 +39,6 @@ jobs:
32
39
uv run python -m build
33
40
34
41
- name: Publish package
35
- run: |
36
- uv run twine upload dist/*
37
- env:
38
- TWINE_USERNAME: __token__
- TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
42
+ uses: pypa/gh-action-pypi-publish@release/v1
43
+ with:
44
+ skip-existing: true
0 commit comments