summaryrefslogtreecommitdiff
path: root/.github/workflows/c-cpp.yml
diff options
context:
space:
mode:
authorLee Lup Yuen <luppy@appkaki.com>2020-07-22 02:28:26 (GMT)
committerGitHub <noreply@github.com>2020-07-22 02:28:26 (GMT)
commit03bfc7e3db988b5ab387a7a69425f7ab21b6d1fa (patch)
tree321a71fb654ff3f4799a5dcbf837aec5a69c2bd4 /.github/workflows/c-cpp.yml
parente5930d54edc1474496b1876c2dcb2102974287cb (diff)
Update c-cpp.yml
Diffstat (limited to '.github/workflows/c-cpp.yml')
-rw-r--r--.github/workflows/c-cpp.yml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/c-cpp.yml b/.github/workflows/c-cpp.yml
index f29f554..d9c455d 100644
--- a/.github/workflows/c-cpp.yml
+++ b/.github/workflows/c-cpp.yml
@@ -58,7 +58,7 @@ jobs:
uses: actions/checkout@v2
- name: Show Files
- run: set ; pwd ; ls -l ~
+ run: set ; pwd ; ls -l
- name: CMake
run: mkdir -p build && cd build && cmake -DARM_NONE_EABI_TOOLCHAIN_PATH=${{ runner.temp }}/arm-none-eabi -DNRF5_SDK_PATH=${{ runner.temp }}/nrf5_sdk -DUSE_OPENOCD=1 ../
@@ -66,5 +66,13 @@ jobs:
- name: Make -j
run: cd build && make pinetime-app
+ - name: Upload the Built Firmware
+ uses: actions/upload-artifact@v2
+ with:
+ # Artifact name
+ name: firmware # optional
+ # A file, directory or wildcard pattern that describes what to upload
+ path: /home/runner/work/pinetime-lab/pinetime-lab/README.md # TODO
+
# Embedded Arm Toolchain and nRF5 SDK will only be cached if the build succeeds.
# So make sure that the first build always succeeds, e.g. comment out the "Make" step.