We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4316657 commit 6f22228Copy full SHA for 6f22228
.github/workflows/building.yml
@@ -64,7 +64,11 @@ jobs:
64
if: ${{ runner.os != 'macOS' }}
65
run: |
66
VERSION=`sed -n "s/^__version__ = '\(.*\)'/\1/p" torch_cluster/__init__.py`
67
- sed -i "s/$VERSION/$VERSION+${{ matrix.cuda-version }}/" torch_cluster/__init__.py
+ TORCH_VERSION=`echo "pt${{ matrix.torch-version }}" | sed "s/..$//" | sed "s/\.//g"`
68
+ CUDA_VERSION=`echo ${{ matrix.cuda-version }}`
69
+ echo "New version name: $VERSION+$TORCH_VERSION$CUDA_VERSION"
70
+ sed -i "s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/" setup.py
71
+ sed -i "s/$VERSION/$VERSION+$TORCH_VERSION$CUDA_VERSION/" torch_cluster/__init__.py
72
shell:
73
bash
74
0 commit comments