From b9ba790e1ad8efaa60566f15ffbb9951a7531003 Mon Sep 17 00:00:00 2001 From: rathaROG Date: Mon, 26 Aug 2024 16:40:49 +0200 Subject: [PATCH] Update and clean the pre-publish workflow --- .github/workflows/prepublish.yaml | 44 +++++++++++-------------------- 1 file changed, 15 insertions(+), 29 deletions(-) diff --git a/.github/workflows/prepublish.yaml b/.github/workflows/prepublish.yaml index 5a7d915..9197e77 100644 --- a/.github/workflows/prepublish.yaml +++ b/.github/workflows/prepublish.yaml @@ -9,14 +9,11 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*" @@ -33,14 +30,11 @@ jobs: runs-on: macos-13 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*" @@ -57,14 +51,11 @@ jobs: runs-on: macos-14 steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*" @@ -81,14 +72,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v5 - name: Install cibuildwheel - run: | - python -m pip install --upgrade pip - python -m pip install cibuildwheel==2.20.0 + run: python -m pip install cibuildwheel==2.20.0 - name: Build wheels - run: | - python -m cibuildwheel --output-dir wheelhouse + run: python -m cibuildwheel --output-dir wheelhouse env: CIBW_BUILD_VERBOSITY: 1 CIBW_BUILD: "cp37-* cp38-* cp39-* cp310-* cp311-* cp312-* cp313-*" @@ -126,18 +114,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Set up Python 3 - uses: actions/setup-python@v4 + - name: Set up Python 3.x + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install requirements run: | - python -m pip install --upgrade pip pip install "setuptools>=67.2.0" pip install wheel build - name: Build .tar.gz - run: | - python -m build --sdist + run: python -m build --sdist - name: Archive .tar.gz uses: actions/upload-artifact@v4 with: