Skip to content

Commit a478070

Browse files
committed
sdist test workflow
1 parent 0ac3f1d commit a478070

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sdist.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Tests build sdist
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build_sdist:
10+
name: Build diffpy.pdffit2 sdist
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
ref: ${{ github.ref }}
16+
17+
- name: Build sdist
18+
run: pipx run build --sdist
19+
20+
- uses: actions/upload-artifact@v4
21+
with:
22+
name: cibw-sdist
23+
path: ./dist/*.tar.gz

0 commit comments

Comments
 (0)