Skip to content

Commit 3457194

Browse files
committed
wip
1 parent d6f4816 commit 3457194

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

.github/workflows/main.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
# name: cypress-videos
132132
# path: cypress/videos
133133
#
134-
publish:
134+
publishPypi:
135135
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
136136
needs: [build, test]
137137
runs-on: ubuntu-20.04
@@ -143,12 +143,26 @@ jobs:
143143
- name: Download build artifacts
144144
uses: actions/download-artifact@v2
145145
- run: yarn
146+
146147
- name: Publish a Python distribution to PyPI
147148
uses: pypa/gh-action-pypi-publish@master
148149
with:
149150
user: __token__
150151
password: ${{ secrets.PYPI_API_TOKEN }}
151152

153+
- name: Render conda/meta.yaml template
154+
uses: chuhlomin/render-template@v1.5
155+
with:
156+
template: conda/meta.yaml
157+
vars: |
158+
version: ${GITHUB_REF##*/}
159+
160+
- name: Publish to Conda
161+
uses: maxibor/conda-package-publish-action@v1.1
162+
with:
163+
subdir: "conda"
164+
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
165+
152166
- name: Publish labextension NPM
153167
uses: JS-DevTools/npm-publish@v1
154168
with:

conda/meta.yaml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package:
2+
name: "jupyterlab-s3-browser"
3+
version: 0.0.1
4+
5+
source:
6+
path: ..
7+
8+
about:
9+
summary: "A JupyterLab extension for browsing S3-compatible object storage"
10+
11+
build:
12+
noarch: python
13+
script: poetry install

0 commit comments

Comments
 (0)