Skip to content

Commit 5aa9911

Browse files
committed
Try harder to fool sudo
1 parent 8ed1588 commit 5aa9911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/test/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ runs:
2828
which cargo
2929
echo $PATH
3030
echo 'echo $PATH' | sudo --preserve-env=PATH sh
31-
sudo --preserve-env=PATH ${{ inputs.TOOL }} test --target ${{ inputs.TARGET }} --all-features
31+
sudo --preserve-env=HOME $(which cargo) test --all-features

0 commit comments

Comments
 (0)