File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44 build-n-publish :
55 name : Build and publish to PyPI
66 runs-on : ubuntu-latest
7+ permissions :
8+ # IMPORTANT: this permission is mandatory for trusted publishing
9+ id-token : write
710 steps :
811 - uses : actions/checkout@v3
912 - name : Set up Python
2629 .
2730 - name : Publish distribution 📦 to PyPI
2831 if : startsWith(github.ref, 'refs/tags')
29- uses : pypa/gh-action-pypi-publish@release/v1
30- with :
31- password : ${{ secrets.PYPI_KEY }}
32+ uses : pypa/gh-action-pypi-publish@release/v1
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
55
66## [ Unreleased]
77
8- - Nothing yet
8+ - Using trusted publisher setup to publish to pypi
99
1010## [ 1.8.2]
1111
Original file line number Diff line number Diff line change @@ -43,13 +43,6 @@ to install it just use pip (prefered):
4343
4444 $ pip install python-osc
4545
46- or from the raw sources for the development version:
47-
48- .. code-block :: bash
49-
50- $ python setup.py test
51- $ python setup.py install
52-
5346 Examples
5447========
5548
You can’t perform that action at this time.
0 commit comments