Skip to content

Commit

Permalink
Update GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
youyupei committed Sep 29, 2024
1 parent c7954c3 commit 5d0a6bf
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,22 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # this is needed to get the tags
# Used to host cibuildwheel
- uses: actions/setup-python@v5
with:
python-version: '3.9'

- name: Install setuptools_scm and update seuptools
run: pip install setuptools_scm setuptools; pip install --upgrade setuptools

- name: Get package version from setuptools_scm
run: python -m setuptools_scm

- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.21.1

- name: Build wheels
uses: pypa/cibuildwheel@v2.21.1
run: python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
with:
Expand All @@ -42,7 +49,7 @@ jobs:
fetch-depth: 0 # this is needed to get the tags

- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: '3.9'

Expand Down

0 comments on commit 5d0a6bf

Please sign in to comment.