File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -18,20 +18,23 @@ jobs:
18
18
uses : goanpeca/setup-miniconda@v1
19
19
with :
20
20
miniconda-version : " latest"
21
- python-version : " 3.7"
21
+ python-version : 3.7
22
22
23
23
- name : Setup nightly version
24
24
run : |
25
25
sed -i "s/__version__ = \"\(.*\)\"/__version__ = \"\1.dev$(date -u +%Y%m%d)\"/g" ignite/__init__.py
26
+ cat ignite/__init__.py
26
27
27
28
- name : Install dependencies
29
+ shell : bash -l {0}
28
30
run : |
29
- conda install pytorch torchvision cpuonly -c pytorch-nightly
31
+ conda install -y pytorch torchvision cpuonly -c pytorch-nightly
30
32
pip install -r requirements-dev.txt
31
33
pip install --upgrade --no-cache-dir twine
32
34
python setup.py install
33
35
34
36
- name : Build and Publish Conda binaries
37
+ shell : bash -l {0}
35
38
env :
36
39
ANACONDA_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
37
40
# UPLOAD_USER: "pytorch-nightly"
41
44
./conda.recipe/build_and_upload.sh
42
45
43
46
- name : Build and Publish PyPi binaries
47
+ shell : bash -l {0}
44
48
env :
45
49
PYPI_USER : ${{ secrets.PYPI_USER }}
46
50
PYPI_TOKEN : ${{ secrets.PYPI_TOKEN }}
You can’t perform that action at this time.
0 commit comments