Skip to content

Commit 9b91cdf

Browse files
committed
fix: Fixed permissions to resolve non-root/root runners compatibility
1 parent d7611dd commit 9b91cdf

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-wheels-platforms.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,10 @@ jobs:
181181
if: matrix.os == 'Windows'
182182
run: python build_wheels.py
183183

184+
- name: Fix permissions on downloaded_wheels (ARMv7 Docker builds)
185+
if: matrix.os == 'Linux ARMv7' || matrix.os == 'Linux ARMv7 Legacy'
186+
run: sudo chown -R $USER:$USER ./downloaded_wheels
187+
184188
- name: Upload artifacts of downloaded_wheels directory
185189
uses: actions/upload-artifact@v4
186190
with:

.github/workflows/build-wheels-python-dependent.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ jobs:
192192
if: matrix.os == 'Windows'
193193
run: python build_wheels_from_file.py --force-interpreter-binary dependent_requirements_${{ matrix.arch }}
194194

195+
- name: Fix permissions on downloaded_wheels (ARMv7 Docker builds)
196+
if: matrix.os == 'Linux ARMv7' || matrix.os == 'Linux ARMv7 Legacy'
197+
run: sudo chown -R $USER:$USER ./downloaded_wheels
195198

196199
- name: Upload artifacts
197200
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)