@@ -183,13 +183,8 @@ jobs:
183183 with:
184184 python-version: ${{ matrix.python-version }}
185185{% endraw %}{% if python_package_registry == "PyPI" %}{% raw %}
186- - name: Sleep to allow PyPI Index to update before proceeding to the next step
187- if: ${{ runner.os == 'Windows' }}
188- uses: juliangruber/sleep-action@{% endraw %} {{ gha_sleep }}{% raw %}
189- with:
190- time: 60s
191186 - name: Wait for Test PyPI to serve the new version
192- if: ${{ runner.os != 'Windows' }}
187+ shell: bash
193188 run: |
194189 set -euo pipefail
195190 PKG="{% endraw %} {{ package_name | replace('_', '-') }}{% raw %} "
@@ -221,9 +216,6 @@ jobs:
221216
222217 echo "Timeout waiting for ${PKG}==${VER} to be installable."
223218 exit 1{% endraw %}{% endif %}{% raw %}
224- - name: Install from staging registry
225- if: ${{ runner.os == 'Windows' }}
226- run: pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://www.pypi.org/simple {% endraw %} {{ package_name | replace('_', '-') }}{% raw %} ==${{ needs.get-values.outputs.package-version }} --no-cache-dir
227219 - name: Display dependencies
228220 run: pip list
229221 - name: Confirm library can be imported successfully
@@ -332,13 +324,8 @@ jobs:
332324 with:
333325 python-version: ${{ matrix.python-version }}
334326{% endraw %}{% if python_package_registry == "PyPI" %}{% raw %}
335- - name: Sleep to allow PyPI Index to update before proceeding to the next step
336- if: ${{ runner.os == 'Windows' }}
337- uses: juliangruber/sleep-action@{% endraw %} {{ gha_sleep }}{% raw %}
338- with:
339- time: 60s
340327 - name: Wait for PyPI to serve the new version
341- if: ${{ runner.os != 'Windows' }}
328+ shell: bash
342329 run: |
343330 set -euo pipefail
344331 PKG="{% endraw %} {{ package_name | replace('_', '-') }}{% raw %} "
@@ -370,9 +357,6 @@ jobs:
370357
371358 echo "Timeout waiting for ${PKG}==${VER} to be installable."
372359 exit 1{% endraw %}{% endif %}{% raw %}
373- - name: Install from primary registry
374- if: ${{ runner.os == 'Windows' }}
375- run: pip install {% endraw %} {{ package_name | replace('_', '-') }}{% raw %} ==${{ needs.get-values.outputs.package-version }} --no-cache-dir
376360 - name: Display dependencies
377361 run: pip list
378362 - name: Confirm library can be imported successfully
0 commit comments