@@ -19,13 +19,13 @@ jobs:
1919 - uses : actions/upload-artifact@v3
2020 with :
2121 path : ./wheelhouse/*.whl
22- # - name: Upload wheels to pypi
23- # uses: pypa/gh-action-pypi-publish@release/v1
24- # with:
25- # user: __token__
26- # password: ${{ secrets.PYPI_API_TOKEN }}
27- # skip_existing: true
28- # packages-dir: ./wheelhouse/
22+ - name : Upload wheels to pypi
23+ uses : pypa/gh-action-pypi-publish@release/v1
24+ with :
25+ user : __token__
26+ password : ${{ secrets.PYPI_API_TOKEN }}
27+ skip_existing : true
28+ packages-dir : ./wheelhouse/
2929
3030 build_manylinux_aarch64_wheels :
3131 name : Build manylinux_aarch64
@@ -44,13 +44,13 @@ jobs:
4444 - uses : actions/upload-artifact@v3
4545 with :
4646 path : ./wheelhouse/*.whl
47- # - name: Upload wheels to pypi
48- # uses: pypa/gh-action-pypi-publish@release/v1
49- # with:
50- # user: __token__
51- # password: ${{ secrets.PYPI_API_TOKEN }}
52- # skip_existing: true
53- # packages-dir: ./wheelhouse/
47+ - name : Upload wheels to pypi
48+ uses : pypa/gh-action-pypi-publish@release/v1
49+ with :
50+ user : __token__
51+ password : ${{ secrets.PYPI_API_TOKEN }}
52+ skip_existing : true
53+ packages-dir : ./wheelhouse/
5454
5555 build_musllinux_x86_64_wheels :
5656 name : Build musllinux_x86_64 wheels
@@ -65,13 +65,13 @@ jobs:
6565 - uses : actions/upload-artifact@v3
6666 with :
6767 path : ./wheelhouse/*.whl
68- # - name: Upload wheels to pypi
69- # uses: pypa/gh-action-pypi-publish@release/v1
70- # with:
71- # user: __token__
72- # password: ${{ secrets.PYPI_API_TOKEN }}
73- # skip_existing: true
74- # packages-dir: ./wheelhouse/
68+ - name : Upload wheels to pypi
69+ uses : pypa/gh-action-pypi-publish@release/v1
70+ with :
71+ user : __token__
72+ password : ${{ secrets.PYPI_API_TOKEN }}
73+ skip_existing : true
74+ packages-dir : ./wheelhouse/
7575
7676 build_mac_wheels :
7777 name : Build macos wheels
@@ -85,13 +85,13 @@ jobs:
8585 - uses : actions/upload-artifact@v3
8686 with :
8787 path : ./wheelhouse/*.whl
88- # - name: Upload wheels to pypi
89- # uses: pypa/gh-action-pypi-publish@release/v1
90- # with:
91- # user: __token__
92- # password: ${{ secrets.PYPI_API_TOKEN }}
93- # skip_existing: true
94- # packages-dir: ./wheelhouse/
88+ - name : Upload wheels to pypi
89+ uses : pypa/gh-action-pypi-publish@release/v1
90+ with :
91+ user : __token__
92+ password : ${{ secrets.PYPI_API_TOKEN }}
93+ skip_existing : true
94+ packages-dir : ./wheelhouse/
9595
9696 build_windows_wheels :
9797 name : Build Windows wheels
@@ -105,13 +105,13 @@ jobs:
105105 - uses : actions/upload-artifact@v3
106106 with :
107107 path : ./wheelhouse/*.whl
108- # - name: Upload wheels to pypi
109- # uses: pypa/gh-action-pypi-publish@release/v1
110- # with:
111- # user: __token__
112- # password: ${{ secrets.PYPI_API_TOKEN }}
113- # skip_existing: true
114- # packages-dir: ./wheelhouse/
108+ - name : Upload wheels to pypi
109+ uses : pypa/gh-action-pypi-publish@release/v1
110+ with :
111+ user : __token__
112+ password : ${{ secrets.PYPI_API_TOKEN }}
113+ skip_existing : true
114+ packages-dir : ./wheelhouse/
115115
116116 # Don't upload this one to pypi, otherwise it will be preferred over every compiled one
117117 # We can host it here on github though for those that need it (re: jupyter-light).
@@ -134,68 +134,68 @@ jobs:
134134 with :
135135 path : ./dist/geoana*.whl
136136
137- # distribute:
138- # name: distribute source and documentation
139- # runs-on: ubuntu-latest
140- # defaults:
141- # run:
142- # shell: bash -l {0}
143- # steps:
144- # - uses: actions/checkout@v2
145- # - name: Setup environment
146- # uses: mamba-org/setup-micromamba@v1
147- # with:
148- # environment-name: geoana-test
149- # create-args: >-
150- # python=3.11
151- # numpy>=1.20
152- # scipy>=1.8
153- # libdlf
154- # cython
155- # setuptools_scm
156- # meson-python>=0.14.0
157- # meson
158- # ninja
159- # build
160- # discretize
161- # numba
162- # matplotlib
163- # jupyter
164- # utm
165- # pytest
166- # pytest-cov
167- # sphinx
168- # sphinx-gallery>=0.1.13
169- # pydata-sphinx-theme=0.13.3
170- # numpydoc>=1.5
171- # graphviz
172- # pillow
173- # cache-environment: true
174- # - name: Prepare source distribution
175- # run: |
176- # python -m build --no-isolation --skip-dependency-check --sdist .
177- # - name: Publish package
178- # uses: pypa/gh-action-pypi-publish@release/v1
179- # with:
180- # user: __token__
181- # password: ${{ secrets.PYPI_API_TOKEN }}
182- # skip_existing: true
183- # - name: Install Our Package
184- # run: |
185- # pip install --no-build-isolation --editable . --config-settings=setup-args="-Dwith_extensions=true"
186- # - name: Build documentation
187- # run: |
188- # cd docs
189- # make html
190- # cd ..
191- # - name: GitHub Pages
192- # uses: crazy-max/ghaction-github-pages@v2.5.0
193- # with:
194- # build_dir: docs/_build/html
195- # fqdn: geoana.simpeg.xyz
196- # jekyll: false
197- # env:
198- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
137+ distribute :
138+ name : distribute source and documentation
139+ runs-on : ubuntu-latest
140+ defaults :
141+ run :
142+ shell : bash -l {0}
143+ steps :
144+ - uses : actions/checkout@v2
145+ - name : Setup environment
146+ uses : mamba-org/setup-micromamba@v1
147+ with :
148+ environment-name : geoana-test
149+ create-args : >-
150+ python=3.11
151+ numpy>=1.20
152+ scipy>=1.8
153+ libdlf
154+ cython
155+ setuptools_scm
156+ meson-python>=0.14.0
157+ meson
158+ ninja
159+ build
160+ discretize
161+ numba
162+ matplotlib
163+ jupyter
164+ utm
165+ pytest
166+ pytest-cov
167+ sphinx
168+ sphinx-gallery>=0.1.13
169+ pydata-sphinx-theme=0.13.3
170+ numpydoc>=1.5
171+ graphviz
172+ pillow
173+ cache-environment : true
174+ - name : Prepare source distribution
175+ run : |
176+ python -m build --no-isolation --skip-dependency-check --sdist .
177+ - name : Publish package
178+ uses : pypa/gh-action-pypi-publish@release/v1
179+ with :
180+ user : __token__
181+ password : ${{ secrets.PYPI_API_TOKEN }}
182+ skip_existing : true
183+ - name : Install Our Package
184+ run : |
185+ pip install --no-build-isolation --editable . --config-settings=setup-args="-Dwith_extensions=true"
186+ - name : Build documentation
187+ run : |
188+ cd docs
189+ make html
190+ cd ..
191+ - name : GitHub Pages
192+ uses : crazy-max/ghaction-github-pages@v2.5.0
193+ with :
194+ build_dir : docs/_build/html
195+ fqdn : geoana.simpeg.xyz
196+ jekyll : false
197+ env :
198+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
199199
200200
201201 release :
0 commit comments