From 3e6cec96a904f736552861a866dee677cc04bab1 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 21 Mar 2020 21:19:10 -0400 Subject: [PATCH] Backport PR #16867: BLD: Auto-trigger macOS/Linux wheels on tags. --- .github/workflows/wheels.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/wheels.yml diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml new file mode 100644 index 000000000000..c8c280e92029 --- /dev/null +++ b/.github/workflows/wheels.yml @@ -0,0 +1,34 @@ +on: + push: + tags: + - 'v[0-9]+.[0-9]+.[0-9]+*' +jobs: + trigger_wheel_builds: + runs-on: ubuntu-latest + name: Trigger macOS and manylinux wheel builds + if: github.repository == 'matplotlib/matplotlib' + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + repository: MacPython/matplotlib-wheels + ssh-key: ${{ secrets.WHEEL_DEPLOY_KEY }} + fetch-depth: 0 + - name: Prepare build commit + id: commit + shell: bash + run: | + TAG="${GITHUB_REF#refs/tags/}" + BRANCH="$(echo ${TAG} | sed 's/^v\([0-9]\+\.[0-9]\+\)\.[0-9]\+.*$/build-\1.x/')" + echo "${BRANCH}" + echo "##[set-output name=branch;]${BRANCH}" + git branch ${BRANCH} master || true + git checkout ${BRANCH} + sed -i -e "s/\(- BUILD_COMMIT=\).\+/\1${TAG}/g" .travis.yml + git add .travis.yml + git config --global user.name 'Matplotlib Actions Bot' + git config --global user.email 'matplotlib@users.noreply.github.com' + git commit -m "REL: $TAG" + - name: Push to matplotlib-wheels + run: | + git push origin ${{ steps.commit.outputs.branch }} pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy