From 06057f4b0b36e45f445e1d58fa78dbdfd95cb666 Mon Sep 17 00:00:00 2001 From: Ladislas de Toldi Date: Sun, 17 Jan 2021 22:19:14 +0100 Subject: [PATCH] :construction_worker: (ci): Upload build artifacts For target LEKA_V1_2_DEV and files: - .bin - .hex - .elf --- .github/workflows/ci-build.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index e20f8f3e5c..1c7e2d0d75 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -29,6 +29,7 @@ jobs: - name: Create cache variables id: create_cache_variables run: | + echo "TIMESTAMP=$(date +'%Y%m%d%H%M%S')" >> $GITHUB_ENV echo "::set-output name=timestamp::$(date +'%Y%m%d%H%M%S')" echo "::set-output name=runner_name::$(basename $(dirname $(dirname $(dirname $(pwd)))))" @@ -87,3 +88,13 @@ jobs: gist_id: 705c060b5fa6bf84eda2e172c1db2aec gist_file_name: compile_commands.json file_path: _build/${{ matrix.custom_target }}/compile_commands.json + + - name: Upload build artifacts + if: ${{ matrix.custom_target == 'LEKA_V1_2_DEV' }} + uses: actions/upload-artifact@v2 + with: + name: $TIMESTAMP-LEKA_V1_2_DEV + path: | + _build/LEKA_V1_2_DEV/**/*.bin + _build/LEKA_V1_2_DEV/**/*.hex + _build/LEKA_V1_2_DEV/**/*.elf