fix: update geoid handling in DSM2TidefileUIManager for improved data… #258
This file contains hidden or 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: Python Package using Conda | |
| on: [push, pull_request, workflow_dispatch] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| max-parallel: 5 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # This is important for setuptools_scm to get version from git history | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.11 | |
| - name: Add conda to system path | |
| run: | | |
| # $CONDA is an environment variable pointing to the root of the miniconda directory | |
| echo $CONDA/bin >> $GITHUB_PATH | |
| - name: Conda build package and upload to anaconda.org | |
| env: | |
| ANACONDA_CHANNEL_UPLOAD_TOKEN: ${{ secrets.ANACONDA_CHANNEL_UPLOAD_TOKEN }} | |
| run: | | |
| conda create -n test_pydelmod -y conda-build conda-verify numpy anaconda-client | |
| source $CONDA/etc/profile.d/conda.sh | |
| conda activate test_pydelmod | |
| # Build and upload - the conda_build.sh script will handle versioning | |
| conda config --set anaconda_upload yes | |
| chmod +x ./conda_build.sh | |
| ./conda_build.sh -c cadwr-dms -c conda-forge --user cadwr-dms --token "$ANACONDA_CHANNEL_UPLOAD_TOKEN" | |
| # Clean up | |
| conda activate | |
| conda remove -n test_pydelmod --all | |