udpate docs and vernum #29
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: Publish to Conda-Forge | |
on: | |
release: | |
types: | |
- created | |
- edited | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Conda | |
uses: conda-incubator/setup-miniconda@v2 | |
- name: Create Conda Env. from environment file | |
uses: conda env create --file=conda/environments.yml | |
- name: Activate conda environment | |
run: conda activate sprit-env | |
- name: Install Conda-Forge Client | |
run: conda install -c conda-forge conda-forge-ci-setup -y | |
- name: Build and Upload Package | |
env: | |
CONDA_FORGE_TOKEN: ${{ secrets.CONDA_INITIALIZE }} | |
run: conda smithy ci # using smithy |