File tree 2 files changed +49
-0
lines changed
2 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Publish to Conda
2
+
3
+ on :
4
+ # Triggers the workflow on a new release
5
+ release :
6
+ types : [created]
7
+
8
+ jobs :
9
+ publish :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout repo
13
+ uses : actions/checkout@v1
14
+ - name : publish-to-conda
15
+ uses :
MichaelsJP/[email protected]
16
+ with :
17
+ subDir : ' conda'
18
+ AnacondaToken : ${{ secrets.ANACONDA_TOKEN }}
19
+ platforms : ' all'
20
+ override : true
Original file line number Diff line number Diff line change
1
+ {% set data = load_setup_py_data() %}
2
+
3
+ package :
4
+ name : openfoodfacts
5
+ version : {{ data['version'] }}
6
+
7
+ source :
8
+ path : ..
9
+
10
+ build :
11
+ number : 0
12
+ script : python setup.py install
13
+
14
+ requirements :
15
+ host :
16
+ - pip
17
+ - python
18
+ run :
19
+ - python
20
+ - requests >=2.20.0
21
+
22
+ test :
23
+ imports :
24
+ - openfoodfacts
25
+
26
+ about :
27
+ home : {{ data['url'] }}
28
+ license : {{ data['license'] }}
29
+ summary : {{ data['description'] }}
You can’t perform that action at this time.
0 commit comments