Skip to content

Commit 0595b3b

Browse files
committed
Attempt to fix permissions issues
1 parent 8fc106d commit 0595b3b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-firmware.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ jobs:
3737
run: |
3838
# Create container with source mounted
3939
docker run -d --name s2t-build \
40+
--user $(id -u):$(id -g) \
4041
-v ${{ github.workspace }}:/workspaces/Speech2Touch \
4142
-w /workspaces/Speech2Touch \
4243
s2t-builder:latest \
@@ -76,6 +77,9 @@ jobs:
7677
docker cp s2t-build:/workspaces/Speech2Touch/build/Release/Speech2Touch.map \
7778
${{ github.workspace }}/build/Release/Speech2Touch.map
7879
80+
# Ensure correct ownership
81+
sudo chown -R $(id -u):$(id -g) ${{ github.workspace }}/build/Release/
82+
7983
# Stop and remove container
8084
docker stop s2t-build
8185
docker rm s2t-build

0 commit comments

Comments
 (0)