Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Sep 14, 2024
1 parent aae7331 commit 9b78a0c
Showing 1 changed file with 31 additions and 2 deletions.
33 changes: 31 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
runs-on: ubuntu-latest
container:
image: ghcr.io/darthcloud/idf-blueretro:v5.3.0_2024-02-18
outputs:
br_version: ${{ env.br_version }}

steps:
- name: Checkout repo
Expand All @@ -49,12 +51,39 @@ jobs:
mkdir ota
mv ota_data_initial.bin ota/
- name: Upload artifact
uses: darthcloud/upload-artifact@v4
uses: actions/upload-artifact@v4
with:
name: ${{ env.br_version }}_${{ matrix.hw_version }}
name: ${{ matrix.hw_version }}_${{ matrix.br_config }}
path: |
build/partition_table/partition-table.bin
build/bootloader/bootloader.bin
build/ota/ota_data_initial.bin
build/BlueRetro*.bin
if-no-files-found: error

package:
needs: build
runs-on: ubuntu-latest

steps:
- name: Download artifact
uses: actions/download-artifact@v4
with:
path: build
merge-multiple: true
- name: Display structure of downloaded files
run: |
ls -R build
echo ${{ needs.build.outputs.br_version }}
steps:
- name: Merge Artifacts
uses: actions/upload-artifact/merge@v4
with:
name: ${{ needs.build.outputs.br_version }}_hw1
pattern: |
build/partition_table/partition-table.bin
build/bootloader/bootloader.bin
build/ota/ota_data_initial.bin
build/*hw1*
delete-merged: true

0 comments on commit 9b78a0c

Please sign in to comment.