Run project pipelines for version 3.13 #93
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: {branches: ['3.13']} | |
workflow_dispatch: | |
jobs: | |
update-chart: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-python@master | |
with: | |
python-version: 3 | |
- run: pip install gitpython matplotlib | |
- uses: actions/checkout@master | |
with: | |
ref: '3.12' | |
fetch-depth: 0 | |
- run: python update_switcher_chart.py | |
- run: git config --local user.email [email protected] | |
- run: git config --local user.name "GitHub Action's update-chart job" | |
- run: git add . | |
- run: git commit -m 'Update language switcher progress chart' || return 0 | |
- uses: ad-m/github-push-action@master | |
with: | |
branch: '3.12' | |
github_token: ${{ secrets.GITHUB_TOKEN }} |