Skip to content

Commit b37d260

Browse files
committed
sdist
1 parent 5c1641f commit b37d260

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/sdist.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Tests build sdist
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build_sdist:
9+
name: Build diffpy.pdffit2 sdist
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
ref: ${{ github.ref }}
15+
16+
# - name: Initialize miniconda
17+
# uses: conda-incubator/setup-miniconda@v3
18+
# with:
19+
# activate-environment: test
20+
# auto-update-conda: true
21+
# environment-file: environment.yml
22+
# auto-activate-base: false
23+
# python-version: 3.13
24+
25+
# - name: Conda config
26+
# run: >-
27+
# conda config --set always_yes yes
28+
# --set changeps1 no
29+
30+
# - name: Install gsl
31+
# run: conda install gsl
32+
33+
- name: Build sdist
34+
run: pipx run build --sdist
35+
36+
- uses: actions/upload-artifact@v4
37+
with:
38+
name: cibw-sdist
39+
path: ./dist/*.tar.gz

0 commit comments

Comments
 (0)