Skip to content

Commit

Permalink
Merge pull request #71 from davidcaron/build/actions
Browse files Browse the repository at this point in the history
Build/actions
  • Loading branch information
dancergraham authored Aug 12, 2024
2 parents 3825558 + dc31f41 commit 14342f8
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand All @@ -42,7 +42,7 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

Expand Down Expand Up @@ -83,12 +83,12 @@ jobs:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down Expand Up @@ -118,12 +118,12 @@ jobs:
os: ["ubuntu-latest", "windows-2019", "macos-latest"]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: "3.12"

Expand Down Expand Up @@ -159,7 +159,7 @@ jobs:
CIBW_BUILD: "cp*-macosx*"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.8, <3.13"

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: wheelhouse/*.whl
Expand All @@ -172,14 +172,14 @@ jobs:
- build-and-test-windows
- build-and-test-macos
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

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

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz
Expand All @@ -193,16 +193,16 @@ jobs:
os: [ "ubuntu-latest", "windows-2019", "macos-latest" ]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: recursive

- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels-${{ matrix.os }}
path: dist
Expand Down Expand Up @@ -233,22 +233,22 @@ jobs:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels-ubuntu-latest
path: dist

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels-windows-2019
path: dist

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: wheels-macos-latest
path: dist

- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: sdist
path: dist
Expand Down

0 comments on commit 14342f8

Please sign in to comment.