Skip to content

Commit 8297a04

Browse files
committed
update workflow file
1 parent c592c1c commit 8297a04

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

.github/workflows/mozc-ut.yaml

+41-41
Original file line numberDiff line numberDiff line change
@@ -51,68 +51,68 @@ jobs:
5151
path: .
5252

5353
- name: Checkout
54-
uses: actions/checkout@v4
55-
with:
56-
repository: google/mozc
57-
submodules: 'recursive'
54+
uses: actions/checkout@v4
55+
with:
56+
repository: google/mozc
57+
submodules: 'recursive'
5858

5959
- name: Set up pip
60-
shell: cmd
61-
working-directory: .\src
62-
run: |
63-
python -m pip install six requests
60+
shell: cmd
61+
working-directory: .\src
62+
run: |
63+
python -m pip install six requests
6464
6565
- name: Set up pip
66-
shell: powershell
67-
run: |
68-
Get-Content mozcdic-ut.txt >> .\src\data\dictionary_oss\dictionary00.txt
66+
shell: powershell
67+
run: |
68+
Get-Content mozcdic-ut.txt >> .\src\data\dictionary_oss\dictionary00.txt
6969
7070
7171
- name: Try to restore update_deps cache
72-
uses: actions/cache@v4
73-
with:
74-
path: src/third_party_cache
75-
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
72+
uses: actions/cache@v4
73+
with:
74+
path: src/third_party_cache
75+
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
7676

7777
- name: Install Dependencies
78-
shell: cmd
79-
working-directory: .\src
80-
# This command uses src/third_party_cache as the download cache.
81-
run: |
82-
python build_tools/update_deps.py
78+
shell: cmd
79+
working-directory: .\src
80+
# This command uses src/third_party_cache as the download cache.
81+
run: |
82+
python build_tools/update_deps.py
8383
8484
8585
- name: Biuld Qt
86-
shell: cmd
87-
working-directory: .\src
88-
run: |
89-
python build_tools/build_qt.py --release --confirm_license
86+
shell: cmd
87+
working-directory: .\src
88+
run: |
89+
python build_tools/build_qt.py --release --confirm_license
9090
9191
- name: Delete Qt src to save disk space
92-
shell: cmd
93-
working-directory: .\src
94-
run: |
95-
rmdir third_party\qt_src /s /q
92+
shell: cmd
93+
working-directory: .\src
94+
run: |
95+
rmdir third_party\qt_src /s /q
9696
9797
- name: gyp
98-
shell: cmd
99-
working-directory: .\src
100-
run: |
101-
python build_mozc.py gyp
98+
shell: cmd
99+
working-directory: .\src
100+
run: |
101+
python build_mozc.py gyp
102102
103103
- name: build package
104-
shell: cmd
105-
working-directory: .\src
106-
run: |
107-
python build_mozc.py build -c Release package
104+
shell: cmd
105+
working-directory: .\src
106+
run: |
107+
python build_mozc.py build -c Release package
108108
109109
110110
- name: upload Mozc64.msi
111-
uses: actions/upload-artifact@v4
112-
with:
113-
name: Mozc64.msi
114-
path: src/out_win/Release/Mozc64.msi
115-
if-no-files-found: warn
111+
uses: actions/upload-artifact@v4
112+
with:
113+
name: Mozc64.msi
114+
path: src/out_win/Release/Mozc64.msi
115+
if-no-files-found: warn
116116
test:
117117
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
118118
runs-on: windows-2022

0 commit comments

Comments
 (0)