Skip to content

Commit 7f9c3fe

Browse files
committed
Use sudo instead of su
1 parent 5a762f0 commit 7f9c3fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ jobs:
194194
195195
- name: Run Cuttlefish test
196196
timeout-minutes: 10
197-
run: su $USER -c 'scripts/cuttlefish.sh test'
197+
run: sudo -u $USER scripts/cuttlefish.sh test
198198

199199
- name: Upload logs on error
200200
if: ${{ failure() }}

0 commit comments

Comments
 (0)