Skip to content

Commit

Permalink
test GHA1
Browse files Browse the repository at this point in the history
  • Loading branch information
youyupei committed Sep 29, 2024
1 parent a524bec commit 53e2628
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,25 @@ jobs:
name: Build source distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
uses: actions/checkout@v4

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

- name: Install setuptools_scm
run: pip install setuptools_scm

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

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

- uses: actions/upload-artifact@v4
- name: Upload sdist artifact
uses: actions/upload-artifact@v4
with:
name: cibw-sdist
path: dist/*.tar.gz
Expand Down

0 comments on commit 53e2628

Please sign in to comment.