commit 1f73df47e5a0fd41b912ba21c5897b4c77401db1 parent afe851835fbe1cf62b6cbfd11e532d5ab72d3fd8 Author: Árni Dagur <arni@dagur.eu> Date: Tue, 22 Sep 2020 05:33:19 +0000 CI: Fix the setting up of Python 3.9 Diffstat:
| M | .github/workflows/ci.yml | | | 17 | ++++++++++++++--- |
1 file changed, 14 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml @@ -53,11 +53,16 @@ jobs: - name: Checkout uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 + if: matrix.python-version != 3.9 with: python-version: ${{ matrix.python-version }} + - uses: actions/setup-python@v2 + if: matrix.python-version == 3.9 + with: + python-version: '3.9.0-alpha - 3.9.0' + - name: Install dependencies run: | python -m pip install --upgrade pip @@ -98,10 +103,16 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 + if: matrix.python-version != 3.9 with: python-version: ${{ matrix.python-version }} + - uses: actions/setup-python@v2 + if: matrix.python-version == 3.9 + with: + python-version: '3.9.0-alpha - 3.9.0' + - name: Install latest nightly uses: actions-rs/toolchain@v1 with: