From 4cf50312b15c4e3c5701e05c1f1de36360b77eb7 Mon Sep 17 00:00:00 2001 From: "T.Tian" Date: Thu, 6 Aug 2020 17:21:13 +0200 Subject: [PATCH] Revert "update conda build and upload" This reverts commit ac06f0a9ba5e862a625d9a7265b1acf7eed4a68b. --- .github/workflows/conda-upload.yml | 19 ------------------- .github/workflows/pythonpublish.yml | 2 +- conda/meta.yaml | 4 +--- 3 files changed, 2 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/conda-upload.yml diff --git a/.github/workflows/conda-upload.yml b/.github/workflows/conda-upload.yml deleted file mode 100644 index 525e7de..0000000 --- a/.github/workflows/conda-upload.yml +++ /dev/null @@ -1,19 +0,0 @@ -# Upload python package to conda forge - -name: publish_conda - -on: - release: - types: [pulished] - -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 1a95a13..5781aa7 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -5,7 +5,7 @@ name: Upload Python Package on: release: - types: [published] + types: [created] jobs: deploy: diff --git a/conda/meta.yaml b/conda/meta.yaml index db3d6b1..6247686 100644 --- a/conda/meta.yaml +++ b/conda/meta.yaml @@ -2,7 +2,7 @@ {% set version = data['version'] %} package: - name: renishaw_wire + name: renishawwire version: {{ data['version'] }} source: @@ -21,8 +21,6 @@ requirements: run: - python - numpy >=1.12.0 - - Pillow >=3.4.0 - - matplotlib >=2.1.0 test: imports: