diff options
author | mattip <matti.picus@gmail.com> | 2022-03-17 00:56:22 +0200 |
---|---|---|
committer | mattip <matti.picus@gmail.com> | 2022-03-17 00:56:22 +0200 |
commit | 1e81fa536378b082d453cc415232bf4ebeae60ae (patch) | |
tree | d12995caa5a35cfac3a9efc4bda7c71279579daa /.github | |
parent | 6258d18a0d9612d8a2d67797d3c1dcef3f5ef5b0 (diff) | |
download | numpy-1e81fa536378b082d453cc415232bf4ebeae60ae.tar.gz |
MAINT: remove maint from triggering wheel build, add env to sdist
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/wheels.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 253dd074b..27abcdba0 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -10,7 +10,6 @@ # builds. # The labels that trigger builds are: # 36 - Build(for changes to the building process, -# 03 - Maintenance(for dependency upgrades), and # 14 - Release(ensure wheels build before release) name: Wheel builder @@ -62,7 +61,6 @@ jobs: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, '36 - Build') || - contains(github.event.pull_request.labels.*.name, '03 - Maintenance') || contains(github.event.pull_request.labels.*.name, '14 - Release'))) || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0'))) runs-on: ${{ matrix.buildplat[0] }} @@ -156,10 +154,12 @@ jobs: github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && (contains(github.event.pull_request.labels.*.name, '36 - Build') || - contains(github.event.pull_request.labels.*.name, '03 - Maintenance') || contains(github.event.pull_request.labels.*.name, '14 - Release'))) || (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0'))) runs-on: ubuntu-latest + env: + IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }} + IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }} steps: - name: Checkout numpy uses: actions/checkout@v2 |