Skip to content

Commit 978394e

Browse files
committed
try with tests and different upload
1 parent 10fe453 commit 978394e

1 file changed

Lines changed: 18 additions & 16 deletions

File tree

.github/workflows/build.yaml

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -35,28 +35,30 @@ jobs:
3535
run: |
3636
python setup.py sdist bdist_wheel
3737
38+
- name: run tests
39+
run: |
40+
python conda-recipe\run_test.py
41+
3842
# - name: show content
3943
# run: |
4044
# ls -l ${{ github.workspace }}/dist
4145

42-
- uses: actions/upload-artifact@v2
43-
with:
44-
name: diffpy2-${{ matrix.os }}-${{ matrix.python-version }}
45-
path: ${{ github.workspace }}/dist/*.whl
46-
47-
48-
# - name: Upload zipped offline app installer to GitHub releases
49-
# uses: ncipollo/release-action@v1
46+
# - uses: actions/upload-artifact@v2
5047
# with:
51-
# draft: true
52-
# prerelease: true
53-
# allowUpdates: true
54-
# replacesArtifacts: true
55-
# token: ${{ secrets.GITHUB_TOKEN }}
56-
# artifacts: dist/*.whl
57-
# tag: 1.4.1
58-
# body: This is an alpha build of diffpy2
48+
# name: diffpy2-${{ matrix.os }}-${{ matrix.python-version }}
49+
# path: ${{ github.workspace }}/dist/*.whl
5950

51+
- name: Upload Artifacts GitHub releases
52+
uses: ncipollo/release-action@v1
53+
with:
54+
draft: false
55+
prerelease: true
56+
allowUpdates: true
57+
replacesArtifacts: true
58+
token: ${{ secrets.GITHUB_TOKEN }}
59+
artifacts: ${{ github.workspace }}/dist/*.whl
60+
tag: 1.4.0
61+
body: This is an alpha build of the pdffit2 library (1.4.0)
6062

6163
# upload:
6264
# steps:

0 commit comments

Comments
 (0)