Compare versions #3770
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: Compare versions | |
on: | |
schedule: | |
- cron: 0 0/3 * * * | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11' | |
cache: 'pip' | |
- name: Setup | |
run: | | |
python -m pip install -U -r requirements.txt | |
- name: Run | |
run: | | |
python compare.py release 2 | |
python compare.py snapshot 2 | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: "chore: update for new Minecraft versions" | |
branch: ${{ github.ref }} |