From 3bb8b22903fa06bc5d580bad67aa1ca9f4d24991 Mon Sep 17 00:00:00 2001 From: Norman Rzepka Date: Thu, 11 Jul 2024 13:45:41 +0200 Subject: [PATCH] CI --- .github/workflows/python-module.yml | 31 +++++++++++++++-------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.github/workflows/python-module.yml b/.github/workflows/python-module.yml index e1c041c..064f35b 100644 --- a/.github/workflows/python-module.yml +++ b/.github/workflows/python-module.yml @@ -44,7 +44,7 @@ jobs: - uses: actions/upload-artifact@v3 with: - name: wheels + name: wheels-lin path: ./python/dist/*.whl - name: Make sdist @@ -61,7 +61,7 @@ jobs: path: ./python/dist/*.tar.gz build_mac: - runs-on: macos-12 + runs-on: macos-13 strategy: max-parallel: 4 matrix: @@ -93,9 +93,9 @@ jobs: pip install pytest pytest tests - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-mac-py${{ matrix.python-version }} path: ./python/dist/*.whl build_win: @@ -108,9 +108,9 @@ jobs: matrix: python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} architecture: "x64" # (x64 or x86) @@ -133,9 +133,9 @@ jobs: python -c "import wkw" pytest tests -k "not big_read" - - uses: actions/upload-artifact@v3 + - uses: actions/upload-artifact@v4 with: - name: wheels + name: wheels-win-py${{ matrix.python-version }} path: ./python/dist/*.whl publish: @@ -147,20 +147,21 @@ jobs: runs-on: ubuntu-latest if: startsWith(github.event.ref, 'refs/tags') steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: "0" - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + - name: Set up Python + uses: actions/setup-python@v5 with: - python-version: "3.10" + python-version: "3.11" - name: Get wheels - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: - name: wheels + pattern: wheels-* + merge-multiple: true path: dist - name: Get tar.gz - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: targz path: dist