2323 python -m pip install --user --upgrade setuptools wheel
2424 - name : Build
2525 run : |
26- python .github/prepare_nightly .py
26+ python .github/prepare-nightly_version .py
2727 python setup.py sdist bdist_wheel
2828 ls -lh dist/
2929
3434 user : __token__
3535 password : ${{ secrets.test_pypi_password }}
3636 repository_url : https://test.pypi.org/legacy/
37-
38- - name : Publish distribution 📦 to PyPI
39- uses : pypa/gh-action-pypi-publish@master
40- with :
41- user : __token__
42- password : ${{ secrets.pypi_password }}
37+ verbose : true
4338
4439 docker-XLA :
4540 runs-on : ubuntu-20.04
5247 - name : Checkout
5348 uses : actions/checkout@v2
5449
55- - name : Publish Master to Docker
50+ - name : Publish XLA to Docker Hub
5651 # publish master
57525853 with :
8883 - name : Checkout
8984 uses : actions/checkout@v2
9085
91- - name : Publish Master to Docker
86+ - name : Publish CUDA to Docker Hub
9287 # publish master
93889489 with :
@@ -100,32 +95,7 @@ jobs:
10095 tags : " base-cuda-py${{ matrix.python_version }}-torch${{ matrix.pytorch_version }}"
10196 timeout-minutes : 55
10297
103-
104- docker-Conda :
105- runs-on : ubuntu-20.04
106- strategy :
107- fail-fast : false
108- matrix :
109- python_version : [ 3.6, 3.7, 3.8 ]
110- pytorch_version : [ 1.3, 1.4, 1.5, 1.6, 1.7 ]
111- pytorch_channel : [ "pytorch", "pytorch-nightly" ]
112- # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#example-including-new-combinations
113- exclude :
114- - pytorch_version : 1.7
115- pytorch_channel : pytorch
116- - pytorch_version : 1.3
117- pytorch_channel : pytorch-nightly
118- - pytorch_version : 1.4
119- pytorch_channel : pytorch-nightly
120- - pytorch_version : 1.5
121- pytorch_channel : pytorch-nightly
122- - pytorch_version : 1.6
123- pytorch_channel : pytorch-nightly
124- steps :
125- - name : Checkout
126- uses : actions/checkout@v2
127-
128- - name : Publish Master to Docker
98+ - name : Publish Conda to Docker Hub
12999 # publish master
130100131101 with :
0 commit comments