Skip to content

Commit 3e078be

Browse files
committed
update workflow file
1 parent 9715999 commit 3e078be

File tree

1 file changed

+26
-23
lines changed

1 file changed

+26
-23
lines changed

.github/workflows/mozc-ut.yaml

+26-23
Original file line numberDiff line numberDiff line change
@@ -115,32 +115,35 @@ jobs:
115115
if-no-files-found: warn
116116

117117

118-
cache_deps:
119-
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
120-
runs-on: windows-latest
121-
timeout-minutes: 15
122118

119+
cache_deps:
120+
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
121+
runs-on: windows-latest
122+
timeout-minutes: 15
123+
steps:
123124
- name: Checkout
124-
uses: actions/checkout@v4
125-
with:
126-
repository: google/mozc
127-
submodules: 'recursive'
125+
uses: actions/checkout@v4
126+
with:
127+
repository: google/mozc
128+
submodules: 'recursive'
128129

129-
- name: Set up pip
130-
shell: cmd
131-
working-directory: .\src
132-
run: |
133-
python -m pip install requests
130+
- name: Set up pip
131+
shell: cmd
132+
working-directory: .\src
133+
run: |
134+
python -m pip install requests
134135
135-
- name: Try to restore update_deps cache
136-
uses: actions/cache@v4
137-
with:
138-
path: src/third_party_cache
139-
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
136+
- name: Try to restore update_deps cache
137+
uses: actions/cache@v4
138+
with:
139+
path: src/third_party_cache
140+
key: update_deps-${{ runner.os }}-${{ hashFiles('src/build_tools/update_deps.py') }}
141+
142+
- name: Install Dependencies
143+
shell: cmd
144+
working-directory: .\src
145+
# This command uses src/third_party_cache as the download cache.
146+
run: |
147+
python build_tools/update_deps.py --cache_only
140148
141-
- name: Install Dependencies
142-
shell: cmd
143-
working-directory: .\src
144-
# This command uses src/third_party_cache as the download cache.
145-
run: |
146149
python build_tools/update_deps.py --cache_only

0 commit comments

Comments
 (0)