diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index 56e376dc9a7..deafe111798 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -141,7 +141,7 @@ jobs: # apply weight adjustments for baremetal runner to `runtime/vara/src/weights/pallet_gear.rs` if [ "$INSTANCE_TYPE" = "c6i.metal" ]; then echo "Applying baremetal weight patch" - ./scripts/benchmarking/apply_baremetal_weight_patch.rs -i runtime/vara/src/weights/pallet_gear.rs -o runtime/vara/src/weights/pallet_gear_patched.rs + cargo-script script -- ./scripts/benchmarking/apply_baremetal_weight_patch.rs -i runtime/vara/src/weights/pallet_gear.rs -o runtime/vara/src/weights/pallet_gear_patched.rs mv runtime/vara/src/weights/pallet_gear_patched.rs runtime/vara/src/weights/pallet_gear.rs fi