Skip to content

Commit 4beadad

Browse files
committed
musl环境屏蔽sudo
1 parent cde8cdf commit 4beadad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
run: |
4747
apk update
4848
apk add git ninja bash build-base nodejs linux-headers
49+
alias sudo=''
4950
5051
- uses: actions/checkout@v4
5152
with:
@@ -56,7 +57,7 @@ jobs:
5657
run: .\make.bat ${{ matrix.platform }}
5758

5859
- name: Build for Linux
59-
if: ${{ matrix.target == 'linux' && matrix.libc != 'musl' }}
60+
if: ${{ matrix.target == 'linux' }}
6061
run: |
6162
sudo apt update
6263
sudo apt install ninja-build

0 commit comments

Comments
 (0)