@@ -23,10 +23,11 @@ jobs:
23
23
- uses : actions/checkout@v4
24
24
25
25
- name : Install Rust
26
+ shell : bash
26
27
run : |
27
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
28
- chmod +x /tmp/install- rustup
29
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
28
+ installer=$(mktemp -d) /install-rustup
29
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
30
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
30
31
31
32
- name : Test (dev)
32
33
env :
@@ -66,10 +67,11 @@ jobs:
66
67
- uses : actions/checkout@v4
67
68
68
69
- name : Install Rust
70
+ shell : bash
69
71
run : |
70
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
71
- chmod +x /tmp/install- rustup
72
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
72
+ installer=$(mktemp -d) /install-rustup
73
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
74
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
73
75
74
76
- name : Install compilation target
75
77
run : rustup target add ${{ matrix.target }}
@@ -102,10 +104,11 @@ jobs:
102
104
- uses : actions/checkout@v4
103
105
104
106
- name : Install Rust
107
+ shell : bash
105
108
run : |
106
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
107
- chmod +x /tmp/install- rustup
108
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
109
+ installer=$(mktemp -d) /install-rustup
110
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
111
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
109
112
110
113
- name : Install compilation target
111
114
run : rustup target add ${{ matrix.target }}
@@ -138,10 +141,11 @@ jobs:
138
141
- uses : actions/checkout@v4
139
142
140
143
- name : Install Rust
144
+ shell : bash
141
145
run : |
142
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
143
- chmod +x /tmp/install- rustup
144
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
146
+ installer=$(mktemp -d) /install-rustup
147
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
148
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
145
149
146
150
- name : Install compilation target
147
151
run : rustup target add ${{ matrix.target }}
@@ -393,10 +397,11 @@ jobs:
393
397
- uses : actions/checkout@v4
394
398
395
399
- name : Install Rust
400
+ shell : bash
396
401
run : |
397
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
398
- chmod +x /tmp/install- rustup
399
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
402
+ installer=$(mktemp -d) /install-rustup
403
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
404
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
400
405
401
406
- name : Login
402
407
run : cargo login ${{ secrets.CRATE_AUTH_TOKEN }}
@@ -442,10 +447,11 @@ jobs:
442
447
${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}-
443
448
444
449
- name : Install Rust
450
+ shell : bash
445
451
run : |
446
- curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > /tmp /install-rustup
447
- chmod +x /tmp/install- rustup
448
- /tmp/install-rustup --default-toolchain $(cat rust-toolchain) -y
452
+ installer=$(mktemp -d) /install-rustup
453
+ curl --proto '=https' --tlsv1.2 -sSf https://sh. rustup.rs > $installer
454
+ bash $installer --default-toolchain $(cat rust-toolchain) -y
449
455
450
456
- name : Build pdu
451
457
run : |
0 commit comments