Skip to content

Commit 76ba0ff

Browse files
committed
Try to use install for sccache
1 parent bf2d658 commit 76ba0ff

File tree

3 files changed

+5
-15
lines changed

3 files changed

+5
-15
lines changed

.github/workflows/rust-artifact.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ jobs:
8484
targets: ${{ matrix.rust_target }}
8585
- name: Install sccache
8686
if: env.SCCACHE_AWS_SECRET != ''
87-
uses: taiki-e/cache-cargo-install-action@v2
88-
with:
89-
tool: sccache
87+
uses: taiki-e/install-action@sccache
9088
- name: Setup sccache env variables
9189
if: env.SCCACHE_AWS_SECRET != ''
9290
run: |

.github/workflows/rust-ci.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ jobs:
122122
targets: ${{ matrix.rust_target }}
123123
- name: Install sccache
124124
if: env.SCCACHE_AWS_SECRET != ''
125-
uses: taiki-e/cache-cargo-install-action@v2
126-
with:
127-
tool: sccache
125+
uses: taiki-e/install-action@sccache
128126
- name: Setup sccache env variables
129127
if: env.SCCACHE_AWS_SECRET != ''
130128
run: |
@@ -174,9 +172,7 @@ jobs:
174172
- uses: IronCoreLabs/rust-toolchain@v1
175173
- name: Install sccache
176174
if: env.SCCACHE_AWS_SECRET != ''
177-
uses: taiki-e/cache-cargo-install-action@v2
178-
with:
179-
tool: sccache
175+
uses: taiki-e/install-action@sccache
180176
- name: Setup sccache env variables
181177
if: env.SCCACHE_AWS_SECRET != ''
182178
run: |
@@ -234,9 +230,7 @@ jobs:
234230
- run: ${{inputs.cargo_command_env_vars}} cargo fmt --all -- --check
235231
working-directory: ${{ needs.vars.outputs.rust_root }}
236232
- name: Install cargo-sort
237-
uses: taiki-e/cache-cargo-install-action@v2
238-
with:
239-
tool: cargo-sort
233+
uses: taiki-e/install-action@cargo-sort
240234
- run: |
241235
if grep -q '\[workspace]' Cargo.toml ; then
242236
${{inputs.cargo_command_env_vars}} cargo sort --check --workspace

.github/workflows/rust-daily.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,7 @@ jobs:
8686
targets: ${{ matrix.rust_target }}
8787
- name: Install sccache
8888
if: env.SCCACHE_AWS_SECRET != ''
89-
uses: taiki-e/cache-cargo-install-action@v2
90-
with:
91-
tool: sccache
89+
uses: taiki-e/install-action@sccache
9290
- name: Setup sccache env variables
9391
if: env.SCCACHE_AWS_SECRET != ''
9492
run: |

0 commit comments

Comments
 (0)