Skip to content

Commit 69e3301

Browse files
authored
Merge pull request #16 from nolar/fix-publishing
Fix the PyPI publishing authentication from GitHub Actions
2 parents 5e9399e + 419911f commit 69e3301

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ jobs:
1212
publish:
1313
name: Build and publish
1414
runs-on: ubuntu-24.04
15+
permissions:
16+
id-token: write # for trusted publishing
1517
steps:
1618
- uses: actions/checkout@v5
1719
- uses: actions/setup-python@v6
1820
with:
19-
python-version: "3.10"
21+
python-version: "3.14"
2022
- run: pip install --upgrade pip build
2123
- run: python -m build # includes sdist & wheel by default
2224
- uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)