Skip to content

Commit 36676f6

Browse files
committed
Fix Arch Linux Workspace Permission
1 parent 56f1e4e commit 36676f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/linux_arch.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141
docker run --rm \
4242
-v ${{ github.workspace }}:/workspace \
4343
-w /workspace \
44+
--user root \
4445
archlinux:latest \
4546
bash -c "
4647
git config --global --add safe.directory /workspace &&
@@ -50,7 +51,8 @@ jobs:
5051
make debug &&
5152
make &&
5253
make WEBUI_USE_TLS=1 debug &&
53-
make WEBUI_USE_TLS=1
54+
make WEBUI_USE_TLS=1 &&
55+
chown -R $(id -u):$(id -g) /workspace
5456
"
5557
5658
- name: Prepare Artifact

0 commit comments

Comments
 (0)