37
37
mkdir -p dist/
38
38
echo "${VERSION}" > dist/VERSION
39
39
40
- - uses : actions/upload-artifact@v2
40
+ - uses : actions/upload-artifact@v3
41
41
with :
42
42
name : dist
43
43
path : dist/
@@ -50,19 +50,21 @@ jobs:
50
50
PIP_DISABLE_PIP_VERSION_CHECK : 1
51
51
52
52
steps :
53
- - uses : actions/checkout@v2
53
+ - uses : actions/checkout@v3
54
54
with :
55
55
fetch-depth : 50
56
56
submodules : true
57
57
58
- - uses : actions/setup-python@v2
58
+ - uses : actions/setup-python@v4
59
+ with :
60
+ python-version : 3.x
59
61
60
62
- name : Build source distribution
61
63
run : |
62
- python -m pip install -U setuptools wheel pip
64
+ python -m pip install --upgrade setuptools wheel pip
63
65
python setup.py sdist
64
66
65
- - uses : actions/upload-artifact@v2
67
+ - uses : actions/upload-artifact@v3
66
68
with :
67
69
name : dist
68
70
path : dist/*.tar.*
92
94
PIP_DISABLE_PIP_VERSION_CHECK : 1
93
95
94
96
steps :
95
- - uses : actions/checkout@v2
97
+ - uses : actions/checkout@v3
96
98
with :
97
99
fetch-depth : 50
98
100
submodules : true
@@ -108,7 +110,7 @@ jobs:
108
110
run : |
109
111
brew install gnu-sed libtool autoconf automake
110
112
111
- - uses : pypa/cibuildwheel@v2.1.1
113
+ - uses : pypa/cibuildwheel@v2.8.0
112
114
env :
113
115
CIBW_BUILD_VERBOSITY : 1
114
116
CIBW_BUILD : ${{ matrix.cibw_python }}
@@ -120,7 +122,7 @@ jobs:
120
122
CIBW_TEST_COMMAND_WINDOWS : " python {project}\\ tests\\ __init__.py"
121
123
CIBW_TEST_SKIP : " *universal2:arm64"
122
124
123
- - uses : actions/upload-artifact@v2
125
+ - uses : actions/upload-artifact@v3
124
126
with :
125
127
name : dist
126
128
path : wheelhouse/*.whl
@@ -130,12 +132,12 @@ jobs:
130
132
runs-on : ubuntu-latest
131
133
132
134
steps :
133
- - uses : actions/checkout@v2
135
+ - uses : actions/checkout@v3
134
136
with :
135
137
fetch-depth : 5
136
138
submodules : false
137
139
138
- - uses : actions/download-artifact@v2
140
+ - uses : actions/download-artifact@v3
139
141
with :
140
142
name : dist
141
143
path : dist/
0 commit comments