From 03bfc7e3db988b5ab387a7a69425f7ab21b6d1fa Mon Sep 17 00:00:00 2001 From: Lee Lup Yuen Date: Wed, 22 Jul 2020 10:28:26 +0800 Subject: Update c-cpp.yml 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. -- cgit v0.10.2