1
0
mirror of https://github.com/one-among-us/data.git synced 2024-11-22 11:14:53 +08:00

[+] Actions workflow

This commit is contained in:
Hykilpikonna 2022-11-16 02:20:58 -05:00
parent cb19df10a6
commit 0b3f4e8446
No known key found for this signature in database
GPG Key ID: 256CD01A41D7FA26

33
.github/workflows/opencc.yml vendored Normal file
View File

@ -0,0 +1,33 @@
name: OpenCC Convert
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
cache: 'pip' # caching pip dependencies
- name: Install Python Dependencies
run: pip install -r requirements.txt
- name: Convert zh-hant
run: python3 scripts/convert_zh.py
- uses: EndBug/add-and-commit@v7
with:
default_author: github_actions
message: '[U] Generate zh_hant from zh_hans'