Skip to content

Commit e89fc68

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

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/wheels.yml

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

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

0 commit comments

Comments
 (0)