Skip to content

Commit

Permalink
Merge pull request #33 from kthyng/main
Browse files Browse the repository at this point in the history
adding release CI
  • Loading branch information
kthyng authored Dec 16, 2022
2 parents 282590e + 91ba098 commit e7c93cf
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

---
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- name: Install dependencies
run: |
python -m pip install -U pip wheel setuptools setuptools-scm twine
- name: Build distributions
run: python setup.py sdist bdist_wheel

- name: Publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_PASSWORD }}
3 changes: 2 additions & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dependencies:
# - jupyterlab
- aiohttp
- cartopy
- cf_pandas
# - cf_pandas
- cf_xarray
- extract_model
- intake
Expand All @@ -37,6 +37,7 @@ dependencies:
- pip:
- alphashape
# - git+https://github.com/intake/intake
- cf_pandas
- intake-axds
- intake-erddap
# - intake-xarray
Expand Down

0 comments on commit e7c93cf

Please sign in to comment.