File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed
actions/common-wheel-build Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -5,18 +5,22 @@ inputs:
5
5
python-version :
6
6
description : The Python version to setup
7
7
required : true
8
+ github_ref :
9
+ description : The GitHub ref (branch name)
10
+ required : true
11
+ default : ${{ github.ref }}
8
12
9
13
runs :
10
14
using : " composite"
11
15
steps :
12
16
- name : Update version in pyproject.toml
13
- if : github.ref != 'refs/heads/master'
17
+ if : inputs.github_ref != 'refs/heads/master'
14
18
shell : bash
15
19
run : |
16
20
bash ./scripts/ci/update-pyproject-version.sh
17
21
18
22
- name : Generate updated lock file
19
- if : github.ref != 'refs/heads/master'
23
+ if : inputs.github_ref != 'refs/heads/master'
20
24
shell : bash
21
25
run : uv lock --no-upgrade
22
26
Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ jobs:
104
104
uses : ./.github/actions/common-wheel-build
105
105
with :
106
106
python-version : ${{ matrix.python-version }}
107
+ github_ref : ${{ github.ref }}
107
108
108
109
- name : Run tests
109
110
run : |
@@ -184,6 +185,7 @@ jobs:
184
185
uses : ./.github/actions/common-wheel-build
185
186
with :
186
187
python-version : ${{ matrix.python-version }}
188
+ github_ref : ${{ github.ref }}
187
189
188
190
- name : Run tests
189
191
run : |
@@ -240,6 +242,7 @@ jobs:
240
242
uses : ./.github/actions/common-wheel-build
241
243
with :
242
244
python-version : ${{ matrix.python-version }}
245
+ github_ref : ${{ github.ref }}
243
246
244
247
- name : Run tests
245
248
run : |
@@ -293,6 +296,7 @@ jobs:
293
296
uses : ./.github/actions/common-wheel-build
294
297
with :
295
298
python-version : ${{ matrix.python-version }}
299
+ github_ref : ${{ github.ref }}
296
300
297
301
- name : Cached test data
298
302
uses : ./.github/actions/common-test-data
Original file line number Diff line number Diff line change 69
69
uses : ./.github/actions/common-wheel-build
70
70
with :
71
71
python-version : ${{ matrix.python-version }}
72
+ github_ref : ${{ github.ref }}
72
73
73
74
# Run codspeed once only
74
75
- name : Run benchmarks
Original file line number Diff line number Diff line change @@ -161,6 +161,7 @@ jobs:
161
161
uses : ./.github/actions/common-wheel-build
162
162
with :
163
163
python-version : ${{ matrix.python-version }}
164
+ github_ref : ${{ github.ref }}
164
165
165
166
- name : Set release output
166
167
id : vars
You can’t perform that action at this time.
0 commit comments