File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,9 @@ function run() {
55
55
// Opt-out of having data collected about dfx usage.
56
56
core . exportVariable ( 'DFX_TELEMETRY_DISABLED' , 1 ) ;
57
57
// Install dfx.
58
- child_process_1 . default . execSync ( `echo y | DFX_VERSION= ${ dfxVersion } sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" ` ) ;
58
+ child_process_1 . default . execSync ( `mkdir -p /home/runner/bin ` ) ;
59
59
core . addPath ( '/home/runner/bin' ) ;
60
+ child_process_1 . default . execSync ( `echo y | DFX_VERSION=${ dfxVersion } sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"` ) ;
60
61
const dfxPath = yield io . which ( 'dfx' ) ;
61
62
core . debug ( dfxPath ) ;
62
63
infoExec ( `${ dfxPath } --version` ) ;
@@ -79,7 +80,7 @@ function run() {
79
80
// Install vessel.
80
81
const vesselVersion = core . getInput ( 'vessel-version' ) ;
81
82
if ( vesselVersion ) {
82
- child_process_1 . default . execSync ( `curl -L https://github.com/dfinity/vessel/releases/download/v${ vesselVersion } /vessel-linux64 > /home/runner/bin/vessel ` ) ;
83
+ child_process_1 . default . execSync ( `wget -O /home/runner/bin/vessel https://github.com/dfinity/vessel/releases/download/v${ vesselVersion } /vessel-linux64` ) ;
83
84
child_process_1 . default . execSync ( `chmod +x /home/runner/bin/vessel` ) ;
84
85
const vesselPath = yield io . which ( 'vessel' ) ;
85
86
infoExec ( `${ vesselPath } --version` ) ;
Original file line number Diff line number Diff line change @@ -17,8 +17,9 @@ export async function run() {
17
17
core . exportVariable ( 'DFX_TELEMETRY_DISABLED' , 1 ) ;
18
18
19
19
// Install dfx.
20
- cp . execSync ( `echo y | DFX_VERSION= ${ dfxVersion } sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)" ` ) ;
20
+ cp . execSync ( `mkdir -p /home/runner/bin ` ) ;
21
21
core . addPath ( '/home/runner/bin' ) ;
22
+ cp . execSync ( `echo y | DFX_VERSION=${ dfxVersion } sh -ci "$(curl -fsSL https://sdk.dfinity.org/install.sh)"` ) ;
22
23
23
24
const dfxPath = await io . which ( 'dfx' ) ;
24
25
core . debug ( dfxPath ) ;
@@ -46,7 +47,7 @@ export async function run() {
46
47
// Install vessel.
47
48
const vesselVersion = core . getInput ( 'vessel-version' ) ;
48
49
if ( vesselVersion ) {
49
- cp . execSync ( `curl -L https://github.com/dfinity/vessel/releases/download/v${ vesselVersion } /vessel-linux64 > /home/runner/bin/vessel ` ) ;
50
+ cp . execSync ( `wget -O /home/runner/bin/vessel https://github.com/dfinity/vessel/releases/download/v${ vesselVersion } /vessel-linux64` ) ;
50
51
cp . execSync ( `chmod +x /home/runner/bin/vessel` ) ;
51
52
52
53
const vesselPath = await io . which ( 'vessel' ) ;
You can’t perform that action at this time.
0 commit comments