Skip to content

Commit

Permalink
修改release脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
gaboolic committed Jul 20, 2024
1 parent 669b57e commit 4e58588
Show file tree
Hide file tree
Showing 3 changed files with 1,209,479 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
with:
python-version: '3.10' # 你可以根据需要选择 Python 版本

- name: Generate dict_for_fcitx5.txt from YAML
id: dict_for_fcitx5
- name: Generate frost_dict_for_fcitx5.txt from YAML
id: frost_dict_for_fcitx5
run: |
python others/program/release/generate_dict_for_fcitx5.py # 运行你的 Python 脚本
- name: Check if file exists
run: |
if [ -f "./dict_for_fcitx5.txt" ]; then
if [ -f "./frost_dict_for_fcitx5.txt" ]; then
echo "File exists."
else
echo "File does not exist."
Expand All @@ -35,7 +35,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.TOKEN }}
with:
asset_path: dict_for_fcitx5.txt
asset_name: dict_for_fcitx5.txt
asset_path: frost_dict_for_fcitx5.txt
asset_name: frost_dict_for_fcitx5.txt
asset_content_type: text/plain
upload_url: ${{ github.event.release.upload_url }}
Loading

0 comments on commit 4e58588

Please sign in to comment.