fix #11
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: Build REST | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -l {0} | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Set up Miniconda | |
| uses: conda-incubator/setup-miniconda@v3 | |
| with: | |
| auto-update-conda: true | |
| activate-environment: build-env | |
| python-version: 3.11 | |
| environment-file: recipe/env.yaml | |
| # use-mamba: true | |
| - name: Build recipe | |
| run: | | |
| conda info | |
| # conda env list | |
| conda activate build-env | |
| conda-build recipe --output-folder output | |
| # - name: Upload artifacts | |
| # uses: actions/upload-artifact@v2 | |
| # with: | |
| # name: conda-packages |