diff --git a/.github/workflows/conda-upload.yml b/.github/workflows/conda-upload.yml new file mode 100644 index 0000000..c9aac5a --- /dev/null +++ b/.github/workflows/conda-upload.yml @@ -0,0 +1,19 @@ +# Upload python package to conda forge + +name: publish_conda + +on: + release: + types: [published] + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: publish-to-conda + uses: fcakyon/conda-publish-action@v1.3 + with: + subdir: 'conda' + anacondatoken: ${{ secrets.ANACONDA_TOKEN }} + platforms: 'win osx linux' diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 5781aa7..1a95a13 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -5,7 +5,7 @@ name: Upload Python Package on: release: - types: [created] + types: [published] jobs: deploy: diff --git a/conda/meta.yaml b/conda/meta.yaml index 6247686..fbac96a 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -2,7 +2,7 @@ {% set version = data['version'] %} package: - name: renishawwire + name: renishaw_wire version: {{ data['version'] }} source: @@ -21,6 +21,8 @@ requirements: run: - python - numpy >=1.12.0 + - matplotlib >=2.1.0 + - Pillow >=3.4.0 test: imports: