Skip to content

Commit 8aa664a

Browse files
authored
Update Device-Tree-Generator.yml
1 parent 88816a7 commit 8aa664a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/Device-Tree-Generator.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,17 @@ jobs:
7272
run: |
7373
mv ./output/ device
7474
zip -r ${{ github.event.inputs.IMG_TYPE }}_tree.zip ./device/
75-
75+
cd device/*/
76+
echo "DEVICE_ID=${PWD##*/}" >> $GITHUB_ENV
77+
cd *
78+
echo "DEVICE_IDD=${PWD##*/}" >> $GITHUB_ENV
7679
- name: Release
7780
if: github.event.inputs.RELEASE_FILE == 'true'
7881
uses: softprops/action-gh-release@v1
7982
with:
8083
files: |
8184
${{ github.event.inputs.IMG_TYPE }}_tree.zip
82-
name: device tree // ${{ env.BUILD_DATE }}
85+
name: ${{ env.DEVICE_ID }} ${{ env.DEVICE_IDD }} device tree // ${{ env.BUILD_DATE }}
8386
tag_name: ${{ github.run_id }}
8487
body: |
8588

0 commit comments

Comments
 (0)