Skip to content

Commit

Permalink
Only run wheels workflow for tags and wheel building changes
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 23, 2023
1 parent 00bc784 commit 810f806
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
13 changes: 12 additions & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
name: Wheels

on: [push, pull_request, workflow_dispatch]
on:
push:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
tags:
- "*"
pull_request:
paths:
- ".github/workflows/wheels*.yml"
- "wheels/*"
workflow_dispatch:

permissions:
contents: read
Expand Down
5 changes: 2 additions & 3 deletions wheels/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ archive.
Wheels
------

Wheels are uploaded to https://github.com/python-pillow/Pillow/releases.
Credentials for this specific repo are stored in a Travis CI secret, so the upload
won't work from another repository.
Wheels are
[GitHub Actions artifacts created for tags, relevant changes or manual builds](https://github.com/python-pillow/Pillow/actions/workflows/wheels.yml).

Windows wheels are not created here. Instead, they are
[GitHub Actions artifacts created on each run of the Pillow repository](https://github.com/python-pillow/Pillow/actions/workflows/test-windows.yml?query=branch%3Amain).

0 comments on commit 810f806

Please sign in to comment.