Skip to content

Commit 0cc67d8

Browse files
committed
checkout matplotlib-release to get the needed LICENSE_binary file
1 parent cd188df commit 0cc67d8

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/wheels.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ jobs:
9494
runs-on: ubuntu-latest
9595

9696
steps:
97+
- name: Checkout matplotlib-release
98+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
99+
with:
100+
persist-credentials: false
101+
97102
- name: Download sdist
98103
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
99104
with:
@@ -159,23 +164,12 @@ jobs:
159164

160165
steps:
161166

162-
- name: Checkout matplotlib-release
163-
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
164-
with:
165-
persist-credentials: false
166-
167167
- name: Download sdist
168168
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
169169
with:
170170
name: cibw-sdist-license
171171
path: dist/
172172

173-
- name: Update LICENSE for binary distrobution
174-
run: |
175-
tar -xvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }}
176-
cat ${{ github.workspace }}/tools/wheels/LICENSE_binary.txt >> matplotlib*/LICENSE/LICENSE
177-
tar -cvf dist/${{ needs.build_sdist.outputs.SDIST_NAME }} matplotlib*
178-
179173
- name: Build wheels for CPython 3.14
180174
uses: pypa/cibuildwheel@9c00cb4f6b517705a3794b22395aedc36257242c # v3.2.1
181175
with:

0 commit comments

Comments
 (0)