From a6d8b36212fa85d6e3ff3cc0cdcb6c34a88affec Mon Sep 17 00:00:00 2001 From: Jon Malkin Date: Wed, 25 Aug 2021 16:46:45 -0700 Subject: [PATCH] run wheel creation when creating a release or when triggered manually --- .github/workflows/build_wheels.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 0893be8a..2708ceaa 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -1,6 +1,12 @@ name: Build Python Wheels -on: [push, pull_request] +on: + # run when we tag a release + release: + types: + - "created" + # also allow manual runs + workflow_dispatch: env: BUILD_TYPE: Release