Set ncciy
year explicitly in namelist
#93
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: CD | |
on: [push, pull_request] | |
jobs: | |
conda: | |
name: build and deploy to conda | |
if: github.repository == 'payu-org/payu' && github.event_name == 'push' && startsWith(github.ref, 'refs/tags') | |
runs-on: ubuntu-latest | |
# Steps represent a sequence of tasks that will be executed as part of the job | |
steps: | |
- name: Checkout source | |
uses: actions/checkout@v3 | |
- name: Setup conda environment | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniconda-version: "latest" | |
python-version: 3.11 | |
environment-file: conda/environment.yml | |
auto-update-conda: false | |
auto-activate-base: false | |
show-channel-urls: true | |
- name: Build and upload the conda package | |
uses: uibcdf/action-build-and-upload-conda-packages@v1.2.0 | |
with: | |
meta_yaml_dir: conda | |
python-version: 3.11 | |
user: accessnri | |
label: main | |
token: ${{ secrets.anaconda_token }} |