File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change 4646 sudo apt-get update && sudo apt-get install openssl curl
4747 conda install -y anaconda-client conda-build conda-verify
4848 python -m pip install --upgrade pip
49- pip install setuptools wheel
50- pip install build --user
51- - name : Build package
52- run : >-
53- python -m build --sdist --wheel --outdir dist/
49+ pip install setuptools wheel build
5450 - name : Publish distribution to Anaconda
5551 env :
5652 ANACONDA_API_TOKEN : ${{ secrets.ANACONDA_TOKEN }}
6056 # Get the version of the library
6157 export TORCHHD_VERSION=$(python -c "with open('torchhd/version.py') as f: exec(f.read()); print(__version__)")
6258
63- # Calculate the HASH of the package
64- mv ./dist/torch_hd-${TORCHHD_VERSION}.tar.gz ./conda-build/torchhd.tar.gz
65- export TORCHHD_HASH=$(openssl sha256 ./conda-build/torchhd.tar.gz | awk '{print $2}')
66-
6759 # Build for noarch platform
6860 conda-build -c pytorch --output-folder ./conda-build ./conda
6961
Original file line number Diff line number Diff line change 55 version : {{ TORCHHD_VERSION }}
66
77source :
8- url : https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/{{ name }}-{{ TORCHHD_VERSION }}.tar.gz
9- sha256 : {{ TORCHHD_HASH }}
8+ path : ../
109
1110build :
1211 noarch : python
Original file line number Diff line number Diff line change 2121# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2222# SOFTWARE.
2323#
24- __version__ = "5.6.2 "
24+ __version__ = "5.6.3 "
You can’t perform that action at this time.
0 commit comments