Skip to content

Commit

Permalink
ci: build from outside the container
Browse files Browse the repository at this point in the history
This fixes the build by not running the action inside the container but using the Docker image in the action.
  • Loading branch information
coderbyheart authored and jakkra committed Aug 8, 2023
1 parent 6a035c2 commit 71f3366
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ jobs:
- name: Clone repository
uses: actions/checkout@v2
with:
path: project
submodules: recursive
- name: Build ZSWatch Binaries
run: west build --board ${{ matrix.board }} app
working-directory: project
run: |
docker run -v $PWD:/workdir/project nordicplayground/nrfconnect-sdk:v${{ matrix.ncs_version }}-branch \
west build --board zswatch_nrf5340_cpuapp@2 /workdir/project/app
Posix:
name: Posix build
Expand Down

0 comments on commit 71f3366

Please sign in to comment.