release-event #4
This file contains hidden or 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
| name: Update Download Info | |
| on: | |
| # push: | |
| # branches: [ master ] | |
| workflow_dispatch: # allow manual trigger | |
| repository_dispatch: | |
| types: [release-event] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| - name: Build changelog.html | |
| run: | | |
| python scripts/build_changelog.py | |
| - name: Update Download Info | |
| run: | | |
| python scripts/update_download_info.py | |
| - name: Commit download info | |
| uses: EndBug/add-and-commit@v9 | |
| with: | |
| add: "docs/" | |
| committer_name: GitHub Actions | |
| committer_email: actions@github.com |