Skip to content

Commit f889ca0

Browse files
committed
解压缩词典文件
1 parent 8ccb5d7 commit f889ca0

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/release.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,19 @@ jobs:
6262
with:
6363
fetch-depth: 0 # Fetch all history
6464
tags: true # Fetch all tags
65-
65+
66+
# Install p7zip tool
67+
- name: Install p7zip
68+
run: sudo apt-get install p7zip-full
69+
70+
# Unzip the 7z file
71+
- name: Unzip 7z file
72+
run: 7z x ./resources/common/dictionary/ecdict.7z -o ./resources/common/dictionary/
73+
74+
# Delete the original 7z file
75+
- name: Delete 7z file
76+
run: rm ./resources/common/dictionary/ecdict.7z
77+
6678
# Add execute permissions to gradlew
6779
- name: Set execute permissions on gradlew
6880
run: chmod +x ./gradlew

0 commit comments

Comments
 (0)