Skip to content

Commit 2f65316

Browse files
committed
use trusted publisher workflow
1 parent b0e7ead commit 2f65316

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/publish-pypi.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
# This workflow will install Python dependencies, run tests and lint with a single version of Python
2-
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3-
41
name: Publish to PyPI
52

63
on:
@@ -10,6 +7,11 @@ on:
107
jobs:
118
build:
129
runs-on: ubuntu-latest
10+
permissions:
11+
id-token: write
12+
repository-projects: write
13+
contents: write
14+
pages: write
1315

1416
steps:
1517
- uses: actions/checkout@v4
@@ -45,8 +47,6 @@ jobs:
4547
run: |
4648
python -m tox -e clean,build
4749
48-
- name: Publish package
49-
uses: pypa/gh-action-pypi-publish@v1.12.2
50-
with:
51-
user: __token__
52-
password: ${{ secrets.PYPI_API_TOKEN }}
50+
# This uses the trusted publisher workflow so no token is required.
51+
- name: Publish to PyPI
52+
uses: pypa/gh-action-pypi-publish@release/v1

CHANGELOG.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Changelog
22

3-
## Version 0.1 (development)
3+
## Version 0.1.0
44

5-
- Feature A added
6-
- FIX: nasty bug #1729 fixed
7-
- add your changes here!
5+
- Initial implementation of various classes - Partitioning and CompressedLists.
6+
- Udpate documentation, tutorial and tests.

0 commit comments

Comments
 (0)