Place custom partition config in artifact

This commit is contained in:
Thomas Basler 2022-09-18 18:40:00 +02:00
parent 3d055d6860
commit 7dc0123140

View File

@ -3,12 +3,12 @@ name: OpenDTU Build
on: on:
push: push:
paths-ignore: paths-ignore:
- docs/** - docs/**
- '**/*.md' - '**/*.md'
pull_request: pull_request:
paths-ignore: paths-ignore:
- docs/** - docs/**
- '**/*.md' - '**/*.md'
jobs: jobs:
get_default_envs: get_default_envs:
@ -100,12 +100,15 @@ jobs:
name: opendtu-${{ matrix.environment }} name: opendtu-${{ matrix.environment }}
path: | path: |
.pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin .pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin
.pio/build/${{ matrix.environment }}/partitions.bin
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')
with: with:
name: opendtu-release name: opendtu-release
path: .pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin path: |
.pio/build/${{ matrix.environment }}/opendtu-${{ matrix.environment }}.bin
.pio/build/${{ matrix.environment }}/partitions.bin
release: release:
name: Create Release name: Create Release