修复euphony重复注册问题 #9 #44
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: CalculateFileHash | |
on: [push] | |
permissions: | |
contents: write | |
jobs: | |
update: | |
runs-on: windows-latest | |
steps: | |
- name: 检查分支 | |
uses: actions/checkout@v4 | |
- name: Cache Python | |
id: cache-python | |
uses: actions/cache@v4 | |
with: | |
path: C:\hostedtoolcache\windows\Python\3.11.5 | |
key: ${{ runner.os }}-python-3.11.5 | |
- name: 安装 Python | |
if: steps.cache-python.outputs.cache-hit != 'true' | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11.5' | |
- name: 生成json文件 | |
run: python __create_hash.py | |
- name: 暂存提交 | |
run: | | |
git config --global user.name 'yuyumoko' | |
git config --global user.email '389897773@qq.com' | |
git add . | |
git commit -m "auto calc hash" -a | |
- name: 推送 | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |