Skip to content

Commit

Permalink
build firmware as host user in action
Browse files Browse the repository at this point in the history
  • Loading branch information
mjleehh committed Dec 20, 2024
1 parent 8610638 commit 1b94864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-firmware.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
run: ls -1 tools/docker/build.Dockerfile && docker build -t tbd_firmware -f tools/docker/build.Dockerfile $PWD

- name: build firmware
run: docker run -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin
run: docker run --user "$(id -u):$(id -g)" -v $PWD:/code tbd_firmware ${{ inputs.tbd-platform }} configure bin

- name: upload firmware
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 1b94864

Please sign in to comment.