Release 0.4.0 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Release | |
on: | |
push: | |
tags: | |
- '*' | |
jobs: | |
deploy_pypi: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup Miniconda | |
uses: conda-incubator/[email protected] | |
with: | |
auto-update-conda: true | |
auto-activate-base: false | |
activate-environment: test_env | |
- name: Install dependencies | |
shell: bash -l {0} | |
run: | | |
conda install -c numba python=3.8 numba>=0.45 'scipy>=0.16,<1.4' wheel | |
- name: Build PyPI artifacts | |
shell: bash -l {0} | |
run: | | |
python setup.py sdist bdist_wheel | |
- name: Publish to PyPI | |
uses: pypa/[email protected] | |
with: | |
user: __token__ | |
password: ${{ secrets.PYPI_SECRET }} |