Skip to content

Nightly Update

Nightly Update #87

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'