Skip to content

Commit

Permalink
Change examples workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian-Nordic committed Sep 4, 2020
1 parent a57b306 commit 2765529
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,21 +181,22 @@ jobs:
submodules: true
- name: Build example nRF Connect SDK Lock App
run: scripts/examples/nrfconnect_lock_app.sh
- name: Build example nRF Connect SDK Shell
run: scripts/examples/nrfconnect_shell.sh
- name: Copy aside build products
run: |
mkdir -p example_binaries/$BUILD_TYPE-build
cp examples/lock-app/nrfconnect/build/zephyr/zephyr.elf \
example_binaries/$BUILD_TYPE-build/chip-nrf52840-lock-example.elf
mkdir -p /tmp/output_binaries/$BUILD_TYPE-build
cp examples/lock-app/nrfconnect/build/zephyr/zephyr.elf \
/tmp/output_binaries/$BUILD_TYPE-build/chip-lock.elf
cp examples/shell/nrfconnect/build/zephyr/zephyr.elf \
/tmp/output_binaries/$BUILD_TYPE-build/chip-shell.elf
- name: Binary artifact suffix
id: outsuffix
uses: haya14busa/action-cond@v1.0.0
with:
cond: ${{ github.event.pull_request.number == '' }}
if_true: "${{ github.sha }}"
if_false: "pull-${{ github.event.pull_request.number }}"
- name: Copy aside bloat report & binaries
run: |
cp -r example_binaries/$BUILD_TYPE-build /tmp/output_binaries/
- name: Uploading Binaries
uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 2765529

Please sign in to comment.