whitespace etc and submodule update to publish recipe #1
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_conda | ||
on: | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: continuumio/miniconda3:latest | ||
steps: | ||
- name: Checkout Files | ||
uses: actions/checkout@v4 | ||
- name: Run Conda to Build and Publish | ||
run: | | ||
conda config --append channels conda-forge | ||
conda config --append channels noaa-gfdl | ||
conda install conda-build anaconda-client conda-verify | ||
export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }} | ||
conda config --set anaconda_upload yes | ||
git submodule update --init --recursive --remote | ||
conda build . |