Skip to content

Commit

Permalink
👷 (ci): Upload build artifacts
Browse files Browse the repository at this point in the history
For target LEKA_V1_2_DEV and files:

- .bin
- .hex
- .elf
  • Loading branch information
ladislas committed Jan 17, 2021
1 parent 6f96ea4 commit db7bf4e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))"
Expand Down Expand Up @@ -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

0 comments on commit db7bf4e

Please sign in to comment.