File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -6,19 +6,23 @@ on: [push]
6
6
7
7
jobs :
8
8
release :
9
+ name : Upload release to PyPI
9
10
runs-on : ubuntu-latest
11
+ environment :
12
+ name : pypi
13
+ url : https://pypi.org/p/cmocean
14
+ permissions :
15
+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
10
16
steps :
11
17
- uses : actions/checkout@v4
12
18
- uses : actions/setup-python@v5
13
19
- name : Install dependencies
14
20
run : |
15
- python -m pip install -U pip wheel "setuptools<66.0.0" setuptools-scm twine
21
+ python -m pip install -U pip wheel
22
+ # python -m pip install -U pip wheel "setuptools<66.0.0" setuptools-scm twine
16
23
- name : Build distributions
17
24
run : python setup.py sdist bdist_wheel
18
25
19
26
- name : Publish to PyPI
20
27
if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
21
28
uses : pypa/gh-action-pypi-publish@release/v1
22
- with :
23
- user : ${{ secrets.PYPI_USERNAME }}
24
- password : ${{ secrets.PYPI_PASSWORD }}
You can’t perform that action at this time.
0 commit comments