Files
Cleaner/.github/workflows/update_sdk.yml
T
Tsubasa6848 2905ee5a3c Update SDK
2023-03-03 19:38:57 +08:00

21 lines
518 B
YAML

name: Update SDK
on:
workflow_dispatch:
jobs:
update_sdk:
name: Update SDK
runs-on: ubuntu-latest
steps:
- name: Checkout the main branch
uses: actions/checkout@v3
- name: Update submodules
run: |
git submodule update --init --remote
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git commit -am "Update SDK" || exit 0
git push || exit 0