Skip to content

auto check and update #341

auto check and update

auto check and update #341

Workflow file for this run

name: "auto check and update"
on:
# push:
# branches:
# - 'master'
workflow_dispatch:
schedule:
- cron: "30 17 * * *"
jobs:
checkUpdate:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{secrets.ACTIONS_TOKEN}}
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.10.4
- run: pip install requests gitpython
- name: Check and Update
working-directory: ${{env.GITHUB_WORKSPACE}}
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git submodule update --init --recursive --remote
git commit -am "fetch upstream SDK"
python scripts/checkLLRelease.py
git push && git push --tags || exit 0