Skip to content

Commit 369da26

Browse files
committed
update workflow file
1 parent f187c23 commit 369da26

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

.github/workflows/mozc-ut.yaml

+16-17
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@ jobs:
2323
run: |
2424
sudo apt update
2525
sudo apt install ruby
26-
26+
2727
- name: Build UT dict
2828
working-directory: ./src
2929
run: |
3030
sed -i 's/#alt_cannadic/alt_cannadic/' ./make.sh
3131
sed -i 's/#neologd/neologd/' ./make.sh
3232
bash ./make.sh
3333
sed -i 's/\n/\r\n/g' mozcdic-ut.txt
34-
34+
3535
- name: Upload artifact
3636
uses: actions/upload-artifact@v2
3737
with:
@@ -42,78 +42,77 @@ jobs:
4242
runs-on: windows-latest
4343
timeout-minutes: 120
4444
needs: build_linux
45-
45+
4646
steps:
4747
- name: Download artifact
4848
uses: actions/download-artifact@v2
4949
with:
5050
name: mozcdic-ut
5151
path: .
52-
52+
5353
- name: Checkout
5454
uses: actions/checkout@v4
5555
with:
5656
repository: google/mozc
5757
submodules: 'recursive'
58-
58+
5959
- name: Set up pip
6060
shell: cmd
6161
working-directory: .\src
6262
run: |
6363
python -m pip install six requests
64-
64+
6565
- name: Set up pip
6666
shell: powershell
6767
run: |
6868
Get-Content mozcdic-ut.txt >> .\src\data\dictionary_oss\dictionary00.txt
69-
70-
69+
70+
7171
- name: Try to restore update_deps cache
7272
uses: actions/cache@v4
7373
with:
7474
path: src/third_party_cache
7575
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
76-
76+
7777
- name: Install Dependencies
7878
shell: cmd
7979
working-directory: .\src
8080
# This command uses src/third_party_cache as the download cache.
8181
run: |
8282
python build_tools/update_deps.py
83-
84-
83+
84+
8585
- name: Biuld Qt
8686
shell: cmd
8787
working-directory: .\src
8888
run: |
8989
python build_tools/build_qt.py --release --confirm_license
90-
90+
9191
- name: Delete Qt src to save disk space
9292
shell: cmd
9393
working-directory: .\src
9494
run: |
9595
rmdir third_party\qt_src /s /q
96-
96+
9797
- name: gyp
9898
shell: cmd
9999
working-directory: .\src
100100
run: |
101101
python build_mozc.py gyp
102-
102+
103103
- name: build package
104104
shell: cmd
105105
working-directory: .\src
106106
run: |
107107
python build_mozc.py build -c Release package
108-
109-
108+
109+
110110
- name: upload Mozc64.msi
111111
uses: actions/upload-artifact@v4
112112
with:
113113
name: Mozc64.msi
114114
path: src/out_win/Release/Mozc64.msi
115115
if-no-files-found: warn
116-
117116
test:
118117
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
119118
runs-on: windows-2022

0 commit comments

Comments
 (0)