File tree Expand file tree Collapse file tree 4 files changed +75
-35
lines changed
Expand file tree Collapse file tree 4 files changed +75
-35
lines changed Original file line number Diff line number Diff line change @@ -118,13 +118,21 @@ jobs:
118118 working-directory : /tmp
119119 run : |
120120 archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
121- wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
122-
123- tar -xvf "./${archive}"
124-
125- rm "./${archive}"
126-
127- mv ./cargo-binstall ~/.cargo/bin/
121+ wget \
122+ --output-document=- \
123+ --timeout=10 \
124+ --waitretry=3 \
125+ --retry-connrefused \
126+ --progress=dot:mega \
127+ "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}" \
128+ | tar \
129+ --directory=${HOME}/.cargo/bin/ \
130+ --strip-components=1 \
131+ --no-overwrite-dir \
132+ --extract \
133+ --verbose \
134+ --gunzip \
135+ --file=-
128136
129137 - name : Install cocogitto to get the next version number
130138 shell : bash
@@ -309,13 +317,21 @@ jobs:
309317 working-directory : /tmp
310318 run : |
311319 archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
312- wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
313-
314- tar -xvf "./${archive}"
315-
316- rm "./${archive}"
317-
318- mv ./cargo-binstall ~/.cargo/bin/
320+ wget \
321+ --output-document=- \
322+ --timeout=10 \
323+ --waitretry=3 \
324+ --retry-connrefused \
325+ --progress=dot:mega \
326+ "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}" \
327+ | tar \
328+ --directory=${HOME}/.cargo/bin/ \
329+ --strip-components=1 \
330+ --no-overwrite-dir \
331+ --extract \
332+ --verbose \
333+ --gunzip \
334+ --file=-
319335
320336 - name : Install nextest, custom test runner, with native support for junit and grcov
321337 shell : bash
Original file line number Diff line number Diff line change @@ -55,13 +55,21 @@ jobs:
5555 working-directory : /tmp
5656 run : |
5757 archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
58- wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
59-
60- tar -xvf "./${archive}"
61-
62- rm "./${archive}"
63-
64- mv ./cargo-binstall ~/.cargo/bin/
58+ wget \
59+ --output-document=- \
60+ --timeout=10 \
61+ --waitretry=3 \
62+ --retry-connrefused \
63+ --progress=dot:mega \
64+ "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}" \
65+ | tar \
66+ --directory=${HOME}/.cargo/bin/ \
67+ --strip-components=1 \
68+ --no-overwrite-dir \
69+ --extract \
70+ --verbose \
71+ --gunzip \
72+ --file=-
6573
6674 - name : Install cocogitto to get the next version number
6775 shell : bash
Original file line number Diff line number Diff line change @@ -71,13 +71,21 @@ jobs:
7171 working-directory : /tmp
7272 run : |
7373 archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
74- wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
75-
76- tar -xvf "./${archive}"
77-
78- rm "./${archive}"
79-
80- mv ./cargo-binstall ~/.cargo/bin/
74+ wget \
75+ --output-document=- \
76+ --timeout=10 \
77+ --waitretry=3 \
78+ --retry-connrefused \
79+ --progress=dot:mega \
80+ "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}" \
81+ | tar \
82+ --directory=${HOME}/.cargo/bin/ \
83+ --strip-components=1 \
84+ --no-overwrite-dir \
85+ --extract \
86+ --verbose \
87+ --gunzip \
88+ --file=-
8189
8290 - name : Install cocogitto to get the next version number
8391 shell : bash
Original file line number Diff line number Diff line change @@ -65,13 +65,21 @@ jobs:
6565 working-directory : /tmp
6666 run : |
6767 archive="cargo-binstall-x86_64-unknown-linux-musl.tgz"
68- wget "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}"
69-
70- tar -xvf "./${archive}"
71-
72- rm "./${archive}"
73-
74- mv ./cargo-binstall ~/.cargo/bin/
68+ wget \
69+ --output-document=- \
70+ --timeout=10 \
71+ --waitretry=3 \
72+ --retry-connrefused \
73+ --progress=dot:mega \
74+ "https://github.com/cargo-bins/cargo-binstall/releases/latest/download/${archive}" \
75+ | tar \
76+ --directory=${HOME}/.cargo/bin/ \
77+ --strip-components=1 \
78+ --no-overwrite-dir \
79+ --extract \
80+ --verbose \
81+ --gunzip \
82+ --file=-
7583
7684 - name : Install cocogitto to get the next version number
7785 shell : bash
You can’t perform that action at this time.
0 commit comments