Skip to content

Commit fc274dc

Browse files
committed
Finalise workflow
1 parent 6efac4e commit fc274dc

File tree

1 file changed

+17
-22
lines changed

1 file changed

+17
-22
lines changed

.github/workflows/release-wheels.yml

Lines changed: 17 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
name: Build wheels and deploy to PyPI
22

33
on:
4-
pull_request:
54
release:
65
types: [ published ]
76

@@ -10,9 +9,7 @@ jobs:
109
name: Build wheels for ${{ matrix.os }}
1110
runs-on: ${{ matrix.os }}
1211
env:
13-
# Just try 3.9 for now
14-
CIBW_BUILD: "cp39-*"
15-
#CIBW_SKIP: "cp35-*"
12+
CIBW_SKIP: "cp35-*"
1613
strategy:
1714
fail-fast: false
1815
matrix:
@@ -59,23 +56,21 @@ jobs:
5956
name: wheels
6057
path: ./dist
6158

62-
# https://github.com/etesync/etebase-py/blob/master/.github/workflows/manual.yml
63-
6459
# The pypi upload fails with non-linux containers, so grab the uploaded
6560
# artifacts and run using those
6661
# 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
7267

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/
7974

8075
#- name: Publish package to Test PyPi
8176
# uses: pypa/gh-action-pypi-publish@master
@@ -84,8 +79,8 @@ jobs:
8479
# password: ${{ secrets.TEST_PYPI_PASSWORD }}
8580
# repository_url: https://test.pypi.org/legacy/
8681

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

Comments
 (0)