File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
setup-turborepo-environment Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 4
4
target :
5
5
description : " Compilation target"
6
6
required : true
7
-
8
7
targets :
9
8
description : " Comma-separated list of target triples to install for this toolchain"
10
9
required : false
@@ -22,6 +21,10 @@ inputs:
22
21
description : " Determiners whether the cache should be saved. If `false`, the cache is only restored."
23
22
required : false
24
23
default : " false"
24
+ install-cargo-sweep :
25
+ description : " Whether to install cargo-sweep"
26
+ required : false
27
+ default : true
25
28
26
29
runs :
27
30
using : " composite"
66
69
save-if : ${{ github.ref == 'refs/heads/main' && inputs.save-cache || 'false' }}
67
70
68
71
- name : " Install cargo-sweep"
72
+ if : ${{ inputs.install-cargo-sweep }} == "true"
69
73
uses : baptiste0928/cargo-install@v1
70
74
with :
71
75
crate : cargo-sweep
72
76
73
77
- name : " Run cargo-sweep"
78
+ if : ${{ inputs.install-cargo-sweep }} == "true"
74
79
uses : ./.github/actions/cargo-sweep
Original file line number Diff line number Diff line change 25
25
shared-cache-key : turborepo-debug-build
26
26
cache-key : ${{ inputs.target }}
27
27
save-cache : true
28
+ install-cargo-sweep : false
You can’t perform that action at this time.
0 commit comments