@@ -4,14 +4,15 @@ on: [push, pull_request]
44
55jobs :
66 build :
7- # strategy:
8- # max-parallel: 4
9- # matrix:
10- # python-version: ['3.8', '3.9', '3.10']
11- # os: [ubuntu-latest, macos-latest, windows-latest]
7+ strategy :
8+ max-parallel : 4
9+ matrix :
10+ # python-version: ['3.8', '3.9', '3.10']
11+ python-version : ['3.8']
12+ os : [ubuntu-latest, macos-latest, windows-latest]
1213
13- # runs-on: ${{ matrix.os }}
14- runs-on : windows-latest
14+ runs-on : ${{ matrix.os }}
15+ # runs-on: windows-latest
1516 steps :
1617 - name : Check-out repository
1718 uses : actions/checkout@v2
2021 uses : s-weigand/setup-conda@v1
2122 with :
2223 update-conda : true
23- # python-version: ${{ matrix.python-version }}
24- python-version : ' 3.8'
24+ python-version : ${{ matrix.python-version }}
2525
2626 - name : Install dependencies
2727 run : |
@@ -35,29 +35,15 @@ jobs:
3535 run : |
3636 python setup.py sdist bdist_wheel
3737
38- - name : show content
39- run : |
40- ls -l ${{ github.workspace }}/dist
38+ # - name: show content
39+ # run: |
40+ # ls -l ${{ github.workspace }}/dist
4141
4242 - uses : actions/upload-artifact@v2
4343 with :
44- name : diffpy2 - Python ${{ matrix.python-version }}
44+ name : diffpy2-${{ matrix.os }}- ${{ matrix.python-version }}
4545 path : ${{ github.workspace }}/dist/*.whl
4646
47- # upload:
48- # needs: build
49- # runs-on: ubuntu-latest
50- # steps:
51-
52- # - name: show content
53- # run: |
54- # ls -l ${{ github.workspace }}/../
55- # ls -l ${{ github.workspace }}/../dist
56-
57- # - uses: actions/upload-artifact@v2
58- # with:
59- # name: diffpy2 - Python ${{ matrix.python-version }}
60- # path: ${{ github.workspace }}/dist/*.whl
6147
6248 # - name: Upload zipped offline app installer to GitHub releases
6349 # uses: ncipollo/release-action@v1
0 commit comments