File tree Expand file tree Collapse file tree 4 files changed +40
-9
lines changed Expand file tree Collapse file tree 4 files changed +40
-9
lines changed Original file line number Diff line number Diff line change 82
82
with :
83
83
path : dist/*.tar.gz
84
84
85
+ check_artifacts :
86
+ needs : [build_sdist, build_wheels]
87
+ defaults :
88
+ run :
89
+ shell : bash
90
+ name : Check artifacts are correct
91
+ runs-on : ubuntu-20.04
92
+ steps :
93
+ - uses : actions/checkout@v2
94
+ - uses : actions/download-artifact@v2
95
+
96
+ # note wheels should be in subdirectory <upload_name>
97
+ - name : Check number of downloaded artifacts
98
+ run : ls -R
Original file line number Diff line number Diff line change @@ -59,11 +59,30 @@ jobs:
59
59
60
60
- uses : actions/upload-artifact@v2
61
61
with :
62
- name : cibw-wheels
63
62
path : ./wheelhouse/*.whl
64
63
64
+ build_sdist :
65
+ name : Build source distribution
66
+ runs-on : ubuntu-latest
67
+ steps :
68
+ - uses : actions/checkout@v2
69
+
70
+ - uses : actions/setup-python@v2
71
+ name : Install Python
72
+ with :
73
+ python-version : ' 3.8'
74
+
75
+ - name : Build sdist
76
+ run : |
77
+ pip install pep517
78
+ python -m pep517.build -s .
79
+
80
+ - uses : actions/upload-artifact@v2
81
+ with :
82
+ path : dist/*.tar.gz
83
+
65
84
create_release :
66
- needs : [cibw_wheels]
85
+ needs : [build_sdist, cibw_wheels]
67
86
runs-on : ubuntu-20.04
68
87
69
88
steps :
84
103
85
104
# download all artifacts to project dir
86
105
- uses : actions/download-artifact@v2
87
- with :
88
- path : dist
89
106
90
107
- name : Generate changes file
91
108
uses : sarnold/gitchangelog-action@master
99
116
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
100
117
with :
101
118
tag_name : ${{ env.VERSION }}
102
- name : Release v ${{ env.VERSION }}
119
+ name : Release ${{ env.VERSION }}
103
120
body_path : CHANGES.md
104
121
draft : false
105
122
prerelease : false
@@ -110,4 +127,4 @@ jobs:
110
127
with :
111
128
user : __token__
112
129
password : ${{ secrets.pypi_password }}
113
- packages_dir : dist/cibw-wheels /
130
+ packages_dir : artifact /
Original file line number Diff line number Diff line change 1
1
{% set name = "pyre2" %}
2
- {% set version = "0.3.5 " %}
2
+ {% set version = "0.3.6 " %}
3
3
4
4
package :
5
5
name : {{ name|lower }}
Original file line number Diff line number Diff line change 9
9
from setuptools .command .build_ext import build_ext
10
10
11
11
12
- # update the version both here and in conda.recipe/meta.yaml
13
- __version__ = '0.3.5 '
12
+ # update the release version both here and in conda.recipe/meta.yaml
13
+ __version__ = '0.3.6 '
14
14
15
15
# Convert distutils Windows platform specifiers to CMake -A arguments
16
16
PLAT_TO_CMAKE = {
You can’t perform that action at this time.
0 commit comments