Skip to content

Commit 214bd8c

Browse files
committed
try other approach
1 parent 95f2726 commit 214bd8c

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
build:
11-
uses: Datadog/action-prebuildify/.github/workflows/build.yml@main
11+
uses: Datadog/action-prebuildify/.github/workflows/build.yml@rochdev/install-cargo-for-rust
1212
with:
1313
package-manager: 'npm'
1414
cache: false

test/crashtracker/index.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ const uid = process.getuid()
99
const gid = process.getgid()
1010
const opts = { cwd, stdio, uid, gid }
1111

12-
if (process.env.CI) {
13-
execSync(`curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --verbose && npm run --silent build`, opts)
14-
} else {
15-
execSync('npm run --silent build', opts)
16-
}
12+
execSync('npm run --silent build', opts)
1713

1814
const express = require('express')
1915
const bodyParser = require('body-parser')

0 commit comments

Comments
 (0)