Skip to content

Commit

Permalink
Combine
Browse files Browse the repository at this point in the history
  • Loading branch information
SunsetMkt authored Sep 20, 2022
1 parent 46ff2f2 commit d4b7a28
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 263 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/update-global.yaml
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
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Update
name: Update-JP

on:
workflow_dispatch:
Expand Down
48 changes: 0 additions & 48 deletions py/generateAudioJson.py

This file was deleted.

214 changes: 0 additions & 214 deletions py/getModels.py

This file was deleted.

0 comments on commit d4b7a28

Please sign in to comment.