Pillow/.github/workflows/wheels.yml

65 lines
1.1 KiB
YAML
Raw Normal View History

2020-10-23 16:23:03 +03:00
name: Wheels
on:
push:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
tags:
- "*"
pull_request:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
workflow_dispatch:
permissions:
contents: read
2020-10-23 16:23:03 +03:00
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
2023-11-12 21:45:19 +03:00
env:
FORCE_COLOR: 1
2020-10-23 16:23:03 +03:00
jobs:
2022-03-30 03:36:47 +03:00
macos:
uses: ./.github/workflows/wheels-macos.yml
2022-02-21 16:41:52 +03:00
with:
2023-11-12 21:45:19 +03:00
artifacts-name: "dist"
2020-10-24 04:17:04 +03:00
2022-03-30 10:33:30 +03:00
linux:
uses: ./.github/workflows/wheels-linux.yml
2022-03-30 03:36:47 +03:00
with:
2023-11-12 21:45:19 +03:00
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
2022-03-30 03:36:47 +03:00
2022-01-04 01:29:34 +03:00
success:
permissions:
contents: none
2023-11-12 21:45:19 +03:00
needs: [macos, linux, sdist]
2022-01-04 01:29:34 +03:00
runs-on: ubuntu-latest
name: Wheels Successful
steps:
- name: Success
run: echo Wheels Successful