Merge pull request #49 from aJacke/master #11
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: Sync Dict to JSON | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: ${{!contains(github.event.head_commit.author.name, 'github-actions')}} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Sync to JSON | |
run: | | |
python to_json.py | |
- name: Commit JSON | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'auto sync to json' | |
add: './chara_name.json ./chara_profile.json ./unavailable_chara.json' |