Nightly Update #126
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
name: Nightly Update | |
on: | |
schedule: | |
- cron: '30 4 * * *' | |
workflow_dispatch: | |
jobs: | |
main: | |
runs-on: ${{ matrix.cfg.os }} | |
defaults: | |
run: | |
shell: bash | |
strategy: | |
fail-fast: false | |
matrix: | |
cfg: | |
- { os: windows-latest, python-version: '3.12', architecture: x64 } | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.cfg.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.cfg.python-version }} | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
python -m pip install -r requirements.txt | |
- name: Bedrock | |
run: | | |
python platforms/bedrock/generators/update_versions.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
default_author: github_actions | |
message: 'Nightly Update' |