mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
push.yml: add every json to every model of artifact
This commit is contained in:
14
.github/workflows/push.yml
vendored
14
.github/workflows/push.yml
vendored
@@ -37,6 +37,9 @@ jobs:
|
|||||||
- name: Copy license files
|
- name: Copy license files
|
||||||
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/
|
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/
|
||||||
|
|
||||||
|
- name: Generate json index file
|
||||||
|
run: ./source/metadata.py ${{ matrix.model }}.json
|
||||||
|
|
||||||
- name: Archive ${{ matrix.model }} artifacts
|
- name: Archive ${{ matrix.model }} artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -45,13 +48,11 @@ jobs:
|
|||||||
source/Hexfile/${{ matrix.model }}_*.hex
|
source/Hexfile/${{ matrix.model }}_*.hex
|
||||||
source/Hexfile/${{ matrix.model }}_*.dfu
|
source/Hexfile/${{ matrix.model }}_*.dfu
|
||||||
source/Hexfile/${{ matrix.model }}_*.bin
|
source/Hexfile/${{ matrix.model }}_*.bin
|
||||||
|
source/Hexfile/${{ matrix.model }}.json
|
||||||
source/Hexfile/LICENSE
|
source/Hexfile/LICENSE
|
||||||
source/Hexfile/LICENSE_RELEASE.md
|
source/Hexfile/LICENSE_RELEASE.md
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Generate json index file
|
|
||||||
run: ./source/metadata.py ${{ matrix.model }}.json
|
|
||||||
|
|
||||||
- name: Archive ${{ matrix.model }} index file
|
- name: Archive ${{ matrix.model }} index file
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -92,6 +93,9 @@ jobs:
|
|||||||
- name: Copy license files
|
- name: Copy license files
|
||||||
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/
|
run: cp LICENSE scripts/LICENSE_RELEASE.md source/Hexfile/
|
||||||
|
|
||||||
|
- name: Generate json index file
|
||||||
|
run: ./source/metadata.py ${{ matrix.model }}_multi-lang.json
|
||||||
|
|
||||||
- name: Archive ${{ matrix.model }} artifacts
|
- name: Archive ${{ matrix.model }} artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
@@ -100,13 +104,11 @@ jobs:
|
|||||||
source/Hexfile/${{ matrix.model }}_*.hex
|
source/Hexfile/${{ matrix.model }}_*.hex
|
||||||
source/Hexfile/${{ matrix.model }}_*.dfu
|
source/Hexfile/${{ matrix.model }}_*.dfu
|
||||||
source/Hexfile/${{ matrix.model }}_*.bin
|
source/Hexfile/${{ matrix.model }}_*.bin
|
||||||
|
source/Hexfile/${{ matrix.model }}_multi-lang.json
|
||||||
source/Hexfile/LICENSE
|
source/Hexfile/LICENSE
|
||||||
source/Hexfile/LICENSE_RELEASE.md
|
source/Hexfile/LICENSE_RELEASE.md
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Generate json index file
|
|
||||||
run: ./source/metadata.py ${{ matrix.model }}_multi-lang.json
|
|
||||||
|
|
||||||
- name: Archive ${{ matrix.model }} index file
|
- name: Archive ${{ matrix.model }} index file
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user