File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 - ' 3.11'
3737 steps :
3838 - name : Checkout
39- uses : actions/checkout@v3
39+ uses : actions/checkout@v4
4040 - name : Set up Python ${{ matrix.python-version }}
41- uses : actions/setup-python@v3
41+ uses : actions/setup-python@v5
4242 with :
4343 python-version : ${{ matrix.python-version }}
4444 - name : Install requirements
Original file line number Diff line number Diff line change 2727jobs :
2828 build-and-publish :
2929 runs-on : ubuntu-latest
30+ permissions :
31+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
3032 steps :
3133 - name : Checkout
32- uses : actions/checkout@v3
34+ uses : actions/checkout@v4
3335 - name : Inject slug/short variables
34- uses : rlespinasse/github-slug-action@v3.x
36+ uses : rlespinasse/github-slug-action@v4
3537 - name : Set up Python
36- uses : actions/setup-python@v3
38+ uses : actions/setup-python@v5
3739 with :
3840 python-version : ' 3.11'
3941 - name : Install dependencies
4547 python -m build --sdist --wheel --outdir dist/
4648 - name : Publish
4749 uses : pypa/gh-action-pypi-publish@release/v1
48- with :
49- user : ${{ secrets.PYPI_USERNAME }}
50- password : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments