Skip to content

Commit

Permalink
Call cargo-script directly
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteNacked committed Jun 4, 2024
1 parent 734aecb commit c624131
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c624131

Please sign in to comment.