mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-27 01:34:24 +03:00
65 lines
1.1 KiB
YAML
65 lines
1.1 KiB
YAML
name: Wheels
|
|
|
|
on:
|
|
push:
|
|
paths:
|
|
- ".github/workflows/wheels*.yml"
|
|
- "wheels/*"
|
|
tags:
|
|
- "*"
|
|
pull_request:
|
|
paths:
|
|
- ".github/workflows/wheels*.yml"
|
|
- "wheels/*"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
env:
|
|
FORCE_COLOR: 1
|
|
|
|
jobs:
|
|
macos:
|
|
uses: ./.github/workflows/wheels-macos.yml
|
|
with:
|
|
artifacts-name: "dist"
|
|
|
|
linux:
|
|
uses: ./.github/workflows/wheels-linux.yml
|
|
with:
|
|
artifacts-name: "dist"
|
|
|
|
sdist:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@v4
|
|
with:
|
|
python-version: "3.x"
|
|
cache: pip
|
|
cache-dependency-path: "Makefile"
|
|
|
|
- run: make sdist
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
with:
|
|
name: dist
|
|
path: dist/*.tar.gz
|
|
|
|
success:
|
|
permissions:
|
|
contents: none
|
|
needs: [macos, linux, sdist]
|
|
runs-on: ubuntu-latest
|
|
name: Wheels Successful
|
|
steps:
|
|
- name: Success
|
|
run: echo Wheels Successful
|