File tree 2 files changed +10
-8
lines changed
2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ source:
13
13
url : ../dist/torchscan-{{ environ.get('BUILD_VERSION') }}.tar.gz
14
14
15
15
build :
16
+ number : 0
16
17
noarch : python
17
18
script : python setup.py install --single-version-externally-managed --record=record.txt
18
19
29
30
# Python imports
30
31
imports :
31
32
- torchscan
32
- requires :
33
- - python
33
+ - torchscan.modules
34
+ - torchscan.process
35
+ - torchscan.utils
34
36
35
37
about :
36
38
home : https://github.com/frgfm/torch-scan
Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
26
26
- name : Get release tag
27
27
id : release_tag
28
28
run : |
29
- echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//:1 }
29
+ echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
30
30
- name : Build and publish
31
31
env :
32
32
TWINE_USERNAME : ${{ secrets.PYPI_USERNAME }}
33
33
TWINE_PASSWORD : ${{ secrets.PYPI_PASSWORD }}
34
- BUILD_VERSION : ${{ steps.release_tag.outputs.VERSION }}
34
+ VERSION : ${{ steps.release_tag.outputs.VERSION }}
35
35
run : |
36
- python setup.py sdist bdist_wheel
36
+ BUILD_VERSION=${VERSION:1} python setup.py sdist bdist_wheel
37
37
twine check dist/*
38
38
twine upload dist/*
39
39
@@ -70,13 +70,13 @@ jobs:
70
70
- name : Get release tag
71
71
id : release_tag
72
72
run : |
73
- echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//:1 }
73
+ echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
74
74
- name : Build and publish
75
75
env :
76
76
ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
77
- BUILD_VERSION : ${{ steps.release_tag.outputs.VERSION }}
77
+ VERSION : ${{ steps.release_tag.outputs.VERSION }}
78
78
run : |
79
- python setup.py sdist
79
+ BUILD_VERSION=${VERSION:1} python setup.py sdist
80
80
mkdir conda-dist
81
81
conda-build .conda/ -c pytorch --output-folder conda-dist
82
82
ls -l conda-dist/noarch/*tar.bz2
You can’t perform that action at this time.
0 commit comments