Skip to content

Commit

Permalink
Update build-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed Nov 27, 2024
1 parent d7ae578 commit b959d7b
Showing 1 changed file with 5 additions and 21 deletions.
26 changes: 5 additions & 21 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,33 +16,17 @@ on:

jobs:
build-wheels:
runs-on: ${{ matrix.os }}
strategy:
matrix:
include:
- os: ubuntu-latest
python: 38
platform: manylinux_x86_64
- os: ubuntu-latest
python: 39
platform: manylinux_x86_64
- os: ubuntu-latest
python: 310
platform: manylinux_x86_64
- os: ubuntu-latest
python: 311
platform: manylinux_x86_64
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'

- name: Install dependencies
run: python -m pip install --upgrade pip setuptools build
run: pipx install build
- name: Build sdist and wheels
run: python -m build
run: pyproject-build
- name: Store wheels
uses: actions/upload-artifact@v4
with:
Expand All @@ -55,7 +39,7 @@ jobs:
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- name: Download dists
uses: actions/download-artifact@v4.1.7
uses: actions/download-artifact@v4
with:
name: artifact
path: dist
Expand Down

0 comments on commit b959d7b

Please sign in to comment.