Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
T.Tian committed Aug 6, 2020
2 parents 4cf5031 + 25c2445 commit 396bbf8
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 2 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/conda-upload.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
with:
subdir: 'conda'
anacondatoken: ${{ secrets.ANACONDA_TOKEN }}
platforms: 'win osx linux'
2 changes: 1 addition & 1 deletion .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ name: Upload Python Package

on:
release:
types: [created]
types: [published]

jobs:
deploy:
Expand Down
4 changes: 3 additions & 1 deletion conda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{% set version = data['version'] %}

package:
name: renishawwire
name: renishaw_wire
version: {{ data['version'] }}

source:
Expand All @@ -21,6 +21,8 @@ requirements:
run:
- python
- numpy >=1.12.0
- matplotlib >=2.1.0
- Pillow >=3.4.0

test:
imports:
Expand Down

0 comments on commit 396bbf8

Please sign in to comment.