forked from SunsetMkt/blue-archive-spine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
45 additions
and
263 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Update-Global | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 19 * * *' | ||
|
||
|
||
jobs: | ||
update: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Installing requirements | ||
run: | | ||
pip install -r requirements.txt | ||
- name: Building UnityPack | ||
run: | | ||
python setup.py build | ||
- name: Installing UnityPack | ||
run: | | ||
python setup.py install --user | ||
- name: Retrieving models | ||
run: | | ||
python ./py/getModelsGlobal.py | ||
- name: Generating models.json | ||
run: | | ||
python ./py/generateModelsJson.py | ||
- name: Generating audio.json | ||
run: | | ||
python ./py/generateAudioJsonGlobal.py | ||
- name: Commit files | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "respectZ" | ||
git add . | ||
git commit -m "[Update] $(cat ./data/version.txt)" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
force: true | ||
branch: global |
2 changes: 1 addition & 1 deletion
2
.github/workflows/update.yaml → .github/workflows/update-jp.yaml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Update | ||
name: Update-JP | ||
|
||
on: | ||
workflow_dispatch: | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.