diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1140bcfb..26dc816f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -49,12 +51,27 @@ 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 artifactsteps: + - 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 }} \ No newline at end of file