From b803208e775ca1c320e38550aacb08c0e3bbef09 Mon Sep 17 00:00:00 2001 From: Martin Fitzner Date: Fri, 1 Dec 2023 18:05:07 +0100 Subject: [PATCH 1/2] Specify exact version for pypi-test install --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c827d5ce9..090931c29 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: python-version: '3.11' - name: Install test-package run: | - pip install --index-url https://test.pypi.org/simple/ baybe + pip install --index-url https://test.pypi.org/simple/ baybe==${{ github.ref_name }} - name: Download packages built uses: actions/download-artifact@v3 with: From b415a670197f2559abb096821bb81341d17f883a Mon Sep 17 00:00:00 2001 From: Martin Fitzner Date: Fri, 1 Dec 2023 18:21:26 +0100 Subject: [PATCH 2/2] Add fallback url for packages that are not on test-PyPI --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 090931c29..c1547b8af 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -72,7 +72,7 @@ jobs: python-version: '3.11' - name: Install test-package run: | - pip install --index-url https://test.pypi.org/simple/ baybe==${{ github.ref_name }} + pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ baybe==${{ github.ref_name }} - name: Download packages built uses: actions/download-artifact@v3 with: