Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2c92002

Browse files
Maciej Olkom-aciek
authored andcommitted
Add update-chart GitHub Action
1 parent 470eb5f commit 2c92002

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/update-chart.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on: {push: {branches: ['3.10']}}
2+
jobs:
3+
update-chart:
4+
runs-on: ubuntu-latest
5+
steps:
6+
- uses: actions/setup-python@master
7+
- run: pip install gitpython matplotlib
8+
- uses: actions/checkout@master
9+
with:
10+
ref: '3.10'
11+
- run: python update_switcher_chart.py
12+
- run: git config --local user.email '[email protected]'
13+
name: Run git config --local user.email '…'
14+
- run: git config --local user.name "GitHub Action's update-chart job"
15+
- run: git add .
16+
- run: git commit -m 'Update language switcher progress chart' || return 0
17+
- uses: ad-m/github-push-action@master
18+
with:
19+
branch: '3.10'
20+
github_token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)