|
1 | 1 | name: Build wheels and deploy to PyPI |
2 | 2 |
|
3 | 3 | on: |
4 | | - pull_request: |
5 | 4 | release: |
6 | 5 | types: [ published ] |
7 | 6 |
|
|
10 | 9 | name: Build wheels for ${{ matrix.os }} |
11 | 10 | runs-on: ${{ matrix.os }} |
12 | 11 | env: |
13 | | - # Just try 3.9 for now |
14 | | - CIBW_BUILD: "cp39-*" |
15 | | - #CIBW_SKIP: "cp35-*" |
| 12 | + CIBW_SKIP: "cp35-*" |
16 | 13 | strategy: |
17 | 14 | fail-fast: false |
18 | 15 | matrix: |
@@ -59,23 +56,21 @@ jobs: |
59 | 56 | name: wheels |
60 | 57 | path: ./dist |
61 | 58 |
|
62 | | - # https://github.com/etesync/etebase-py/blob/master/.github/workflows/manual.yml |
63 | | - |
64 | 59 | # The pypi upload fails with non-linux containers, so grab the uploaded |
65 | 60 | # artifacts and run using those |
66 | 61 | # See: https://github.com/pypa/gh-action-pypi-publish/discussions/15 |
67 | | - #deploy: |
68 | | - #name: Upload wheels to PyPI |
69 | | - #needs: |
70 | | - #- build_wheels |
71 | | - #runs-on: ubuntu-latest |
| 62 | + deploy: |
| 63 | + name: Upload wheels to PyPI |
| 64 | + needs: |
| 65 | + - build_wheels |
| 66 | + runs-on: ubuntu-latest |
72 | 67 |
|
73 | | - #steps: |
74 | | - #- name: Download the wheels |
75 | | - # uses: actions/download-artifact@v2 |
76 | | - # with: |
77 | | - # name: wheels |
78 | | - # path: dist/ |
| 68 | + steps: |
| 69 | + - name: Download the wheels |
| 70 | + uses: actions/download-artifact@v2 |
| 71 | + with: |
| 72 | + name: wheels |
| 73 | + path: dist/ |
79 | 74 |
|
80 | 75 | #- name: Publish package to Test PyPi |
81 | 76 | # uses: pypa/gh-action-pypi-publish@master |
|
84 | 79 | # password: ${{ secrets.TEST_PYPI_PASSWORD }} |
85 | 80 | # repository_url: https://test.pypi.org/legacy/ |
86 | 81 |
|
87 | | - #- name: Publish package to PyPi |
88 | | - # uses: pypa/gh-action-pypi-publish@master |
89 | | - # with: |
90 | | - # user: __token__ |
91 | | - # password: ${{ secrets.PYPI_PASSWORD }} |
| 82 | + - name: Publish package to PyPi |
| 83 | + uses: pypa/gh-action-pypi-publish@master |
| 84 | + with: |
| 85 | + user: __token__ |
| 86 | + password: ${{ secrets.PYPI_PASSWORD }} |
0 commit comments