Accept dict as a config along with the poni #126
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: Python Package using Conda | |
on: [push] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: conda-incubator/setup-miniconda@v2 | |
with: | |
miniforge-version: latest | |
- name: Install conda-build | |
shell: bash -l {0} | |
run: conda install conda-build setuptools_scm boa | |
- name: build package | |
shell: bash -l {0} | |
run: | | |
export SETUPTOOLS_SCM_PRETEND_VERSION=$(python -m setuptools_scm) | |
echo "Version: " | |
echo $SETUPTOOLS_SCM_PRETEND_VERSION | |
conda mambabuild $GITHUB_WORKSPACE --output-folder=$GITHUB_WORKSPACE | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: package-${{ github.sha }} | |
path: ${{ github.workspace }}/**/azint*.bz2 |