@@ -23,10 +23,11 @@ jobs:
2323 - uses : actions/checkout@v4
2424
2525 - name : Install Rust
26+ shell : bash
2627 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
3031
3132 - name : Test (dev)
3233 env :
@@ -66,10 +67,11 @@ jobs:
6667 - uses : actions/checkout@v4
6768
6869 - name : Install Rust
70+ shell : bash
6971 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
7375
7476 - name : Install compilation target
7577 run : rustup target add ${{ matrix.target }}
@@ -102,10 +104,11 @@ jobs:
102104 - uses : actions/checkout@v4
103105
104106 - name : Install Rust
107+ shell : bash
105108 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
109112
110113 - name : Install compilation target
111114 run : rustup target add ${{ matrix.target }}
@@ -138,10 +141,11 @@ jobs:
138141 - uses : actions/checkout@v4
139142
140143 - name : Install Rust
144+ shell : bash
141145 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
145149
146150 - name : Install compilation target
147151 run : rustup target add ${{ matrix.target }}
@@ -393,10 +397,11 @@ jobs:
393397 - uses : actions/checkout@v4
394398
395399 - name : Install Rust
400+ shell : bash
396401 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
400405
401406 - name : Login
402407 run : cargo login ${{ secrets.CRATE_AUTH_TOKEN }}
@@ -442,10 +447,11 @@ jobs:
442447 ${{ github.job }}-Linux-${{ hashFiles('rust-toolchain') }}-
443448
444449 - name : Install Rust
450+ shell : bash
445451 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
449455
450456 - name : Build pdu
451457 run : |
0 commit comments