Skip to content

Commit e998d30

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

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,11 @@ jobs:
148148

149149
- name: Update LICENSE for binary distrobution
150150
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
151+
mkdir working
152+
cd working
153+
tar -xvf ../dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
154+
cat ${{ github.workspace }}/tools/wheels/LICENSE_binary.txt >> LICENSE/LICENSE
155+
tar -cvf ../dist/${{ needs.build_sdist.outputs.SDIST_NAME }} working
154156
155157
- name: Build wheels for CPython 3.14
156158
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1

0 commit comments

Comments
 (0)