Skip to content

fms_yaml_tools conda environment+packaging attempt #3

fms_yaml_tools conda environment+packaging attempt

fms_yaml_tools conda environment+packaging attempt #3

Workflow file for this run

name: publish_conda
on:
push:
branches:

Check failure on line 4 in .github/workflows/publish_conda.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish_conda.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- main
jobs:
publish:
runs-on: ubuntu-latest
container:
image: continuumio/miniconda3:latest
steps:
- name: Checkout Files
uses: actions/checkout@v4
with:
submodules: 'recursive'
- 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
conda build .