File tree Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Expand file tree Collapse file tree 1 file changed +9
-11
lines changed Original file line number Diff line number Diff line change 8
8
jobs :
9
9
deploy :
10
10
runs-on : ubuntu-latest
11
-
11
+ permissions :
12
+ id-token : write
12
13
steps :
13
- - uses : actions/checkout@v4
14
+ - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
14
15
- name : Set up Python
15
- uses : actions/setup-python@v5
16
+ uses : actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
16
17
with :
17
18
python-version : " 3.x"
18
19
- name : Install dependencies
19
20
run : |
20
21
python -m pip install --upgrade pip
21
- pip install setuptools wheel twine build
22
- - name : Build and publish
23
- env :
24
- TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
25
- TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
26
- run : |
27
- python -m build
28
- twine upload dist/*
22
+ pip install setuptools wheel build
23
+ - name : Build
24
+ run : " python -m build"
25
+ - name : Publish
26
+ uses : pypa/gh-action-pypi-publish@ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0 # v1.9.0
You can’t perform that action at this time.
0 commit comments