Skip to content

Commit e58a7a7

Browse files
committed
update workflow file
1 parent 3b2188e commit e58a7a7

File tree

1 file changed

+40
-40
lines changed

1 file changed

+40
-40
lines changed

.github/workflows/mozc-ut.yaml

+40-40
Original file line numberDiff line numberDiff line change
@@ -115,46 +115,46 @@ jobs:
115115
if-no-files-found: warn
116116

117117

118-
test:
119-
runs-on: windows-2022
120-
timeout-minutes: 90
121-
122-
- name: Checkout
123-
uses: actions/checkout@v4
124-
with:
125-
repository: google/mozc
126-
submodules: 'recursive'
127-
128-
- name: Set up pip
129-
shell: cmd
130-
working-directory: .\src
131-
run: |
132-
python -m pip install six requests
133-
134-
- name: Try to restore update_deps cache
135-
uses: actions/cache@v4
136-
with:
137-
path: src/third_party_cache
138-
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
139-
140-
- name: Install Dependencies
141-
shell: cmd
142-
working-directory: .\src
143-
# This command uses src/third_party_cache as the download cache.
144-
run: |
145-
python build_tools/update_deps.py
146-
147-
- name: gyp
148-
shell: cmd
149-
working-directory: .\src
150-
run: |
151-
python build_mozc.py gyp --noqt --msvs_version=2022
152-
153-
- name: runtests
154-
shell: cmd
155-
working-directory: .\src
156-
run: |
157-
python build_mozc.py runtests -c Debug
118+
test:
119+
runs-on: windows-2022
120+
timeout-minutes: 90
121+
122+
- name: Checkout
123+
uses: actions/checkout@v4
124+
with:
125+
repository: google/mozc
126+
submodules: 'recursive'
127+
128+
- name: Set up pip
129+
shell: cmd
130+
working-directory: .\src
131+
run: |
132+
python -m pip install six requests
133+
134+
- name: Try to restore update_deps cache
135+
uses: actions/cache@v4
136+
with:
137+
path: src/third_party_cache
138+
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
139+
140+
- name: Install Dependencies
141+
shell: cmd
142+
working-directory: .\src
143+
# This command uses src/third_party_cache as the download cache.
144+
run: |
145+
python build_tools/update_deps.py
146+
147+
- name: gyp
148+
shell: cmd
149+
working-directory: .\src
150+
run: |
151+
python build_mozc.py gyp --noqt --msvs_version=2022
152+
153+
- name: runtests
154+
shell: cmd
155+
working-directory: .\src
156+
run: |
157+
python build_mozc.py runtests -c Debug
158158
159159
# actions/cache works without this job, but having this would increase the likelihood of cache hit
160160
# in other jobs. Another approach would be to use "needs:".

0 commit comments

Comments
 (0)