Skip to content

Commit 1ec21f4

Browse files
committed
test
1 parent aae7331 commit 1ec21f4

File tree

1 file changed

+19
-2
lines changed

1 file changed

+19
-2
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ jobs:
2727
runs-on: ubuntu-latest
2828
container:
2929
image: ghcr.io/darthcloud/idf-blueretro:v5.3.0_2024-02-18
30+
outputs:
31+
br_version: ${{ env.br_version }}
3032

3133
steps:
3234
- name: Checkout repo
@@ -49,12 +51,27 @@ jobs:
4951
mkdir ota
5052
mv ota_data_initial.bin ota/
5153
- name: Upload artifact
52-
uses: darthcloud/upload-artifact@v4
54+
uses: actions/upload-artifact@v4
5355
with:
54-
name: ${{ env.br_version }}_${{ matrix.hw_version }}
56+
name: ${{ matrix.hw_version }}_${{ matrix.br_config }}
5557
path: |
5658
build/partition_table/partition-table.bin
5759
build/bootloader/bootloader.bin
5860
build/ota/ota_data_initial.bin
5961
build/BlueRetro*.bin
6062
if-no-files-found: error
63+
64+
package:
65+
needs: build
66+
runs-on: ubuntu-latest
67+
68+
steps:
69+
- name: Download artifact
70+
- uses: actions/download-artifact@v4
71+
with:
72+
path: build
73+
merge-multiple: true
74+
- name: Display structure of downloaded files
75+
run: |
76+
ls -R build
77+
echo ${{ needs.build.outputs.br_version }}

0 commit comments

Comments
 (0)