Skip to content

Commit 3ccbefe

Browse files
committed
Organize release artifacts by ESP-Hosted version
1 parent d989c5c commit 3ccbefe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ jobs:
4343
4444
- name: Prepare artifacts
4545
run: |
46-
mkdir -p artifacts
47-
cp slave/build/network_adapter.bin artifacts/network_adapter_${{ matrix.target }}.bin
48-
sha256sum artifacts/network_adapter_${{ matrix.target }}.bin > artifacts/network_adapter_${{ matrix.target }}.bin.sha256
46+
mkdir -p artifacts/${{ env.ESP_HOSTED_VERSION }}
47+
cp slave/build/network_adapter.bin artifacts/${{ env.ESP_HOSTED_VERSION }}/network_adapter_${{ matrix.target }}.bin
48+
sha256sum artifacts/${{ env.ESP_HOSTED_VERSION }}/network_adapter_${{ matrix.target }}.bin > artifacts/${{ env.ESP_HOSTED_VERSION }}/network_adapter_${{ matrix.target }}.bin.sha256
4949
5050
- name: Upload artifacts
5151
uses: actions/upload-artifact@v4
@@ -70,5 +70,5 @@ jobs:
7070
- name: Create Release
7171
uses: softprops/action-gh-release@v2
7272
with:
73-
files: firmware/*
73+
files: firmware/**/*
7474
generate_release_notes: true

0 commit comments

Comments
 (0)