Skip to content

Commit

Permalink
update get-rime.ps1 and commit-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
fxliang committed Jul 17, 2024
1 parent cf912f0 commit 9b3ef47
Show file tree
Hide file tree
Showing 2 changed files with 352 additions and 231 deletions.
15 changes: 1 addition & 14 deletions .github/workflows/commit-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,7 @@ jobs:
shell: pwsh
run: |
$ErrorActionPreference = 'Stop'
.\get-rime.ps1 -tag latest -extract $true
$dir86 = Get-ChildItem -Path ".\rime*x86" -Directory
$dir64 = Get-ChildItem -Path ".\rime*x64" -Directory
copy $dir86\dist\include\rime_*.h include\
copy $dir86\dist\lib\rime.lib lib\
copy $dir86\dist\lib\rime.dll output\Win32\
copy $dir86\dist\lib\rime.pdb output\Win32\
copy $dir64\dist\lib\rime.lib lib64\
copy $dir64\dist\lib\rime.dll output\
copy $dir64\dist\lib\rime.pdb output\
if (-not (Test-Path -Path "output\data\opencc")) {
New-Item -ItemType Directory -Path "output\data\opencc"
}
copy $dir64\share\opencc\*.* output\data\opencc\
.\get-rime.ps1 -tag latest -use dev
- name: Build data
run: |
Expand Down
Loading

0 comments on commit 9b3ef47

Please sign in to comment.