Skip to content

Commit

Permalink
Merge pull request #6 from zhiyanov/fixing-pipeline
Browse files Browse the repository at this point in the history
Updating actions versions
  • Loading branch information
narek01 authored May 31, 2024
2 parents 9295d73 + 8fbad4c commit dddedbf
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 23 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,37 +38,37 @@ jobs:
python: "cp310"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12' # update once build dependencies are available

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.18
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
CIBW_ARCHS: all
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels_artifact
name: wheels_artifact-${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./wheelhouse/*.whl


build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v44

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: source_artifact
path: dist/*.tar.gz
Expand All @@ -81,7 +81,7 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: wheels_artifact
name: wheels_artifact-*
path: dist
- uses: actions/download-artifact@v3
with:
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,37 +32,37 @@ jobs:


steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12' # update once build dependencies are available

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.18
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
CIBW_ARCHS: all
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels_artifact
name: wheels_artifact-${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./wheelhouse/*.whl


build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: source_artifact
path: dist/*.tar.gz
16 changes: 8 additions & 8 deletions .github/workflows/test_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,37 +41,37 @@ jobs:
python: "cp310"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.12' # update once build dependencies are available

- name: Build wheels
uses: pypa/cibuildwheel@v2.16.2
uses: pypa/cibuildwheel@v2.18
env:
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
CIBW_ARCHS: all
CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel"
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels_artifact
name: wheels_artifact-${{ matrix.python }}-${{ matrix.buildplat[1] }}
path: ./wheelhouse/*.whl


build_sdist:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Build sdist
run: pipx run build --sdist

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: source_artifact
path: dist/*.tar.gz
Expand All @@ -84,7 +84,7 @@ jobs:
steps:
- uses: actions/download-artifact@v3
with:
name: wheels_artifact
name: wheels_artifact-*
path: dist
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit dddedbf

Please sign in to comment.