File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4444 # figure out native target triple while we're at it
4545 - name : install rust-toolchain
4646 run : echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
47+ - name : xtask cargo fetch --locked
48+ run : cd xtask && cargo fetch --locked --target $TARGET
4749 - name : xtask build
4850 run : cd xtask && cargo build
4951 - name : xtask generate
@@ -110,13 +112,13 @@ jobs:
110112 - name : install rust-toolchain
111113 run : echo "TARGET=$(rustc --print host-tuple)" >> "$GITHUB_ENV"
112114 - name : xtask cargo fetch --locked
113- run : cd xtask && cargo fetch --locked --target $TARGET
115+ run : cd xtask && cargo fetch --locked
114116 - name : xtask build
115117 run : cd xtask && cargo build
116118 - name : xtask generate
117119 run : cargo xtask generate
118120 - name : cargo fetch --locked
119- run : cargo xtask generate cargo fetch --locked --target $TARGET
121+ run : cargo xtask generate cargo fetch --locked
120122 - name : fmt
121123 run : cargo xtask generate cargo fmt --all -- --check
122124 - name : clippy
You can’t perform that action at this time.
0 commit comments