mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 02:36:17 +03:00
upload fribidi.dll to GHA
This commit is contained in:
parent
cb6c94123e
commit
b330ff910d
12
.github/workflows/test-windows.yml
vendored
12
.github/workflows/test-windows.yml
vendored
|
@ -181,16 +181,26 @@ jobs:
|
||||||
id: wheel
|
id: wheel
|
||||||
if: "github.event_name != 'pull_request'"
|
if: "github.event_name != 'pull_request'"
|
||||||
run: |
|
run: |
|
||||||
|
mkdir fribidi\${{ matrix.architecture }}
|
||||||
|
copy winbuild\build\bin\fribidi* fribidi\${{ matrix.architecture }}
|
||||||
for /f "tokens=3 delims=/" %%a in ("${{ github.ref }}") do echo ::set-output name=dist::dist-%%a
|
for /f "tokens=3 delims=/" %%a in ("${{ github.ref }}") do echo ::set-output name=dist::dist-%%a
|
||||||
winbuild\\build\\build_pillow.cmd --disable-imagequant bdist_wheel
|
winbuild\\build\\build_pillow.cmd --disable-imagequant bdist_wheel
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v3
|
- name: Upload wheel
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
if: "github.event_name != 'pull_request'"
|
if: "github.event_name != 'pull_request'"
|
||||||
with:
|
with:
|
||||||
name: ${{ steps.wheel.outputs.dist }}
|
name: ${{ steps.wheel.outputs.dist }}
|
||||||
path: dist\*.whl
|
path: dist\*.whl
|
||||||
|
|
||||||
|
- name: Upload fribidi.dll
|
||||||
|
if: "github.event_name != 'pull_request' && matrix.python-version == 3.10"
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: fribidi
|
||||||
|
path: fribidi\*
|
||||||
|
|
||||||
success:
|
success:
|
||||||
permissions:
|
permissions:
|
||||||
contents: none
|
contents: none
|
||||||
|
|
|
@ -297,6 +297,7 @@ deps = {
|
||||||
"filename": "fribidi-1.0.12.zip",
|
"filename": "fribidi-1.0.12.zip",
|
||||||
"dir": "fribidi-1.0.12",
|
"dir": "fribidi-1.0.12",
|
||||||
"build": [
|
"build": [
|
||||||
|
cmd_copy(r"COPYING", r"{bin_dir}\fribidi-1.0.12-COPYING"),
|
||||||
cmd_copy(r"{winbuild_dir}\fribidi.cmake", r"CMakeLists.txt"),
|
cmd_copy(r"{winbuild_dir}\fribidi.cmake", r"CMakeLists.txt"),
|
||||||
cmd_cmake(),
|
cmd_cmake(),
|
||||||
cmd_nmake(target="clean"),
|
cmd_nmake(target="clean"),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user