File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 36
36
- ' 3.11'
37
37
steps :
38
38
- name : Checkout
39
- uses : actions/checkout@v3
39
+ uses : actions/checkout@v4
40
40
- name : Set up Python ${{ matrix.python-version }}
41
- uses : actions/setup-python@v3
41
+ uses : actions/setup-python@v5
42
42
with :
43
43
python-version : ${{ matrix.python-version }}
44
44
- name : Install requirements
Original file line number Diff line number Diff line change 27
27
jobs :
28
28
build-and-publish :
29
29
runs-on : ubuntu-latest
30
+ permissions :
31
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
30
32
steps :
31
33
- name : Checkout
32
- uses : actions/checkout@v3
34
+ uses : actions/checkout@v4
33
35
- name : Inject slug/short variables
34
- uses : rlespinasse/github-slug-action@v3.x
36
+ uses : rlespinasse/github-slug-action@v4
35
37
- name : Set up Python
36
- uses : actions/setup-python@v3
38
+ uses : actions/setup-python@v5
37
39
with :
38
40
python-version : ' 3.11'
39
41
- name : Install dependencies
45
47
python -m build --sdist --wheel --outdir dist/
46
48
- name : Publish
47
49
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