Skip to content

Commit

Permalink
Add GitHub action to build distribution files on push and PR.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivilata committed Dec 5, 2023
1 parent 5bd9d2a commit 075a3a7
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on: [push, pull_request]

jobs:
build:
name: Create distribution files
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Build files
run: |
python -m pip install build
pyproject-build
- name: Upload files
uses: actions/upload-artifact@v3
with:
name: b2h5py-dist
path: |
dist/b2h5py-*.tar.gz
dist/b2h5py-*.whl

0 comments on commit 075a3a7

Please sign in to comment.