Skip to content

Commit 49e1c5e

Browse files
committed
ci: repair checkout workspace without sudo
1 parent f0cd29e commit 49e1c5e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/BPI-R4-Minimal-MTK-Bootloader-Test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ jobs:
2525
steps:
2626
- name: Repair workspace permissions
2727
run: |
28-
sudo mkdir -p "$GITHUB_WORKSPACE"
29-
sudo chown -R "$(id -u):$(id -g)" "$GITHUB_WORKSPACE"
28+
mkdir -p "$GITHUB_WORKSPACE"
29+
podman unshare chown -R "$(id -u):$(id -g)" "$GITHUB_WORKSPACE"
3030
3131
- name: Checkout
3232
uses: actions/checkout@v4

0 commit comments

Comments
 (0)