Skip to content

Commit

Permalink
reduce the pinyin size by remove the comments (#108)
Browse files Browse the repository at this point in the history
* reduce the pinyin size by remove the comments

* use py v4

* use 3.10
  • Loading branch information
wangfenjin authored Nov 12, 2022
1 parent 834b512 commit 56269f8
Show file tree
Hide file tree
Showing 3 changed files with 41,505 additions and 41,504 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
# working-directory: "${{ github.workspace }}/../../_temp/windows"

# python run
# - uses: actions/setup-python@v2
# - uses: actions/setup-python@v4
# with:
# python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
# - name: run python example
Expand Down Expand Up @@ -292,10 +292,10 @@ jobs:
npm run b -- --ext_path="${{ github.workspace }}/build/src/" --dict_path="${{ github.workspace }}/build/test/dict/"
# python run
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
if: startsWith(github.ref, 'refs/tags/') != true
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- name: run python example
if: startsWith(github.ref, 'refs/tags/') != true
working-directory: ./examples/python3/
Expand Down Expand Up @@ -378,9 +378,9 @@ jobs:
# npm run b -- --ext_path="${{ github.workspace }}/../../_temp/macos/src/" --dict_path="${{ github.workspace }}/../../_temp/macos/test/dict/"
# python run
- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
with:
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- name: run python example
working-directory: ./examples/python3/
run: python db_connector.py "${{ github.workspace }}/../../_temp/macos/src/libsimple"
Expand Down
3 changes: 2 additions & 1 deletion contrib/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 拼音文件

wget https://raw.githubusercontent.com/mozillazg/pinyin-data/master/pinyin.txt
wget https://raw.githubusercontent.com/mozillazg/pinyin-data/master/pinyin.txt -O pinyin.txt
sed -i '' 's/\(.*\) #.*/\1/g' pinyin.txt

## Mobile build

Expand Down
Loading

0 comments on commit 56269f8

Please sign in to comment.