|
23 | 23 |
|
24 | 24 | steps: |
25 | 25 | |
| 26 | + with: |
| 27 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 28 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
26 | 29 |
|
27 | 30 | - name: Install Python dependencies |
28 | 31 | run: python -m pip install --upgrade pip build |
|
47 | 50 |
|
48 | 51 | steps: |
49 | 52 | |
| 53 | + with: |
| 54 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 55 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
50 | 56 |
|
51 | 57 | # https://github.com/actions/runner-images/issues/9894#issuecomment-2120538177 |
52 | 58 | # suggests we need to set up a c compiler on windows. |
|
87 | 93 |
|
88 | 94 | steps: |
89 | 95 | |
| 96 | + with: |
| 97 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 98 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
90 | 99 |
|
91 | 100 | # https://github.com/actions/runner-images/issues/9894#issuecomment-2120538177 |
92 | 101 | # suggests we need to set up a c compiler on windows. |
@@ -127,6 +136,9 @@ jobs: |
127 | 136 |
|
128 | 137 | steps: |
129 | 138 | |
| 139 | + with: |
| 140 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 141 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
130 | 142 |
|
131 | 143 | - name: Set up QEMU |
132 | 144 | # QEMU is needed for Linux aarch64 wheels |
@@ -161,6 +173,9 @@ jobs: |
161 | 173 |
|
162 | 174 | steps: |
163 | 175 | |
| 176 | + with: |
| 177 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 178 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
164 | 179 |
|
165 | 180 | - name: Set up QEMU |
166 | 181 | # QEMU is needed for Linux aarch64 wheels |
@@ -195,6 +210,9 @@ jobs: |
195 | 210 |
|
196 | 211 | steps: |
197 | 212 | |
| 213 | + with: |
| 214 | + fetch-depth: 0 # get the non-merge commit for PRs |
| 215 | + fetch-tags: true # include tags to get correct version from setuptools_scm |
198 | 216 |
|
199 | 217 | - name: Install unixODBC |
200 | 218 | # unixODBC is necessary for the SQL C header files, e.g. sql.h, but doesn't appear |
|
0 commit comments