Skip to content

Commit bbdb8f5

Browse files
committed
adding sleep to allow PyPI to update
1 parent 81bae41 commit bbdb8f5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ jobs:
4646
user: __token__
4747
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
4848
repository_url: https://test.pypi.org/legacy/
49+
- name: Sleep for 30 seconds
50+
run: sleep 30s
51+
shell: bash
4952
- name: Install Test Dependencies
5053
run: pip install parameterized git+https://github.com/deepmind/surface-distance.git
5154
- name: Install Package from PyPI
52-
run: pip install --extra-index-url https://test.pypi.org/simple/ ecadataset==${GITHUB_REF#refs/*/v}
55+
run: pip install --extra-index-url https://test.pypi.org/simple/ --no-cache-dir ecadataset==${GITHUB_REF#refs/*/v}
5356
- name: Download Dataset
5457
run: ecadataset download -u ${{ secrets.SYNAPSE_USERNAME }} -p ${{ secrets.SYNAPSE_PASSWORD }}
5558
- name: Run Tests
@@ -71,10 +74,13 @@ jobs:
7174
with:
7275
user: __token__
7376
password: ${{ secrets.PYPI_API_TOKEN }}
77+
- name: Sleep for 30 seconds
78+
run: sleep 30s
79+
shell: bash
7480
- name: Install Test Dependencies
7581
run: pip install parameterized git+https://github.com/deepmind/surface-distance.git
7682
- name: Install Package from PyPI
77-
run: pip install ecadataset==${GITHUB_REF#refs/*/v}
83+
run: pip install --no-cache-dir ecadataset==${GITHUB_REF#refs/*/v}
7884
- name: Download Dataset
7985
run: ecadataset download -u ${{ secrets.SYNAPSE_USERNAME }} -p ${{ secrets.SYNAPSE_PASSWORD }}
8086
- name: Run Tests

0 commit comments

Comments
 (0)