mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-06 09:59:24 +02:00
Use sudo instead of su
This commit is contained in:
parent
5a762f0a8e
commit
b92626cacc
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -194,7 +194,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Run Cuttlefish test
|
- name: Run Cuttlefish test
|
||||||
timeout-minutes: 10
|
timeout-minutes: 10
|
||||||
run: su $USER -c 'scripts/cuttlefish.sh test'
|
run: sudo -E -u $USER scripts/cuttlefish.sh test
|
||||||
|
|
||||||
- name: Upload logs on error
|
- name: Upload logs on error
|
||||||
if: ${{ failure() }}
|
if: ${{ failure() }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user