Skip to content

Commit 81bae41

Browse files
committed
fixing release
1 parent 9bb64ab commit 81bae41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
- name: Install Test Dependencies
5050
run: pip install parameterized git+https://github.com/deepmind/surface-distance.git
5151
- name: Install Package from PyPI
52-
run: pip install --extra-index-url https://test.pypi.org/simple/ ecadataset
52+
run: pip install --extra-index-url https://test.pypi.org/simple/ ecadataset==${GITHUB_REF#refs/*/v}
5353
- name: Download Dataset
5454
run: ecadataset download -u ${{ secrets.SYNAPSE_USERNAME }} -p ${{ secrets.SYNAPSE_PASSWORD }}
5555
- name: Run Tests
@@ -74,7 +74,7 @@ jobs:
7474
- name: Install Test Dependencies
7575
run: pip install parameterized git+https://github.com/deepmind/surface-distance.git
7676
- name: Install Package from PyPI
77-
run: pip install ecadataset
77+
run: pip install ecadataset==${GITHUB_REF#refs/*/v}
7878
- name: Download Dataset
7979
run: ecadataset download -u ${{ secrets.SYNAPSE_USERNAME }} -p ${{ secrets.SYNAPSE_PASSWORD }}
8080
- name: Run Tests

0 commit comments

Comments
 (0)