This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
Update Submodule #28
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: Update Submodule | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 0 1 * *" | |
jobs: | |
Update: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup | |
run: | | |
git config --global user.name github-actions[bot] | |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com | |
- uses: actions/checkout@v4 | |
- name: Get submodules | |
run: | | |
git submodule update --init --recursive | |
- name: Update submodules | |
run: | | |
cd Genshin-Impact-Wish-Simulator | |
git fetch | |
git checkout nostar | |
git pull | |
- name: Create commit | |
run: | | |
git add Genshin-Impact-Wish-Simulator | |
git commit -m "Auto update submodule" | |
- name: Push commit | |
run: | | |
git push | |