FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
matplotlib/.github/workflows/wheels.yml at master · SmashingEric/matplotlib · GitHub
SmashingEric
matplotlib
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
matplotlib
/
.github
/
workflows
/
wheels.yml
Copy path
View runs
More file actions
More file actions
Latest commit
History
History
History
34 lines (34 loc) · 1.17 KB
Breadcrumbs
matplotlib
/
.github
/
workflows
/
wheels.yml
Copy path
File metadata and controls
34 lines (34 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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 }}
Back
|
FazBrowse Home
|
New Git URL