Skip to content

Commit 86a7d4d

Browse files
committed
Append to LICENSE before CIBW step
1 parent 478cdc6 commit 86a7d4d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/wheels.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ jobs:
147147
path: dist/
148148

149149
- name: Update LICENSE for binary distrobution
150-
run: cat ${{ github.workspace }}/tools/wheels/LICENSE_binary.txt >> dist/${{ needs.build_sdist.outputs.SDIST_NAME }}/LICENSE/LICENSE
150+
run: |
151+
tar -xvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }} working
152+
cat ${{ github.workspace }}/tools/wheels/LICENSE_binary.txt >> working/LICENSE/LICENSE
153+
tar -cvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }} working
151154
152155
- name: Build wheels for CPython 3.14
153156
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1

0 commit comments

Comments
 (0)