Skip to content

Commit 3b1283e

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

File tree

1 file changed

+23
-25
lines changed

1 file changed

+23
-25
lines changed

.github/workflows/mozc-ut.yaml

+23-25
Original file line numberDiff line numberDiff line change
@@ -118,32 +118,30 @@ jobs:
118118

119119
cache_deps:
120120
# https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
121-
runs-on: windows-latest
122-
timeout-minutes: 15
123-
steps:
124-
- name: Checkout
125-
uses: actions/checkout@v4
126-
with:
127-
repository: google/mozc
128-
submodules: 'recursive'
129-
130-
- name: Set up pip
131-
shell: cmd
132-
working-directory: .\src
133-
run: |
134-
python -m pip install requests
121+
runs-on: windows-latest
122+
timeout-minutes: 15
123+
steps:
124+
- name: Checkout
125+
uses: actions/checkout@v4
126+
with:
127+
repository: google/mozc
128+
submodules: 'recursive'
135129

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') }}
130+
- name: Set up pip
131+
shell: cmd
132+
working-directory: .\src
133+
run: |
134+
python -m pip install requests
141135
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
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') }}
148141

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: |
149147
python build_tools/update_deps.py --cache_only

0 commit comments

Comments
 (0)