Skip to content

Commit 68560b8

Browse files
authored
Add workflow to generate and upload vendor list
1 parent 8c6c622 commit 68560b8

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.github/workflows/vendorlist.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Generate the vendor list
2+
3+
on:
4+
# Run the workflow when new code is pushed to the repository
5+
push:
6+
branches:
7+
- main
8+
# Run the workflow manually
9+
workflow_dispatch:
10+
11+
env:
12+
GH_TOKEN: ${{ github.token }}
13+
14+
jobs:
15+
generate-vendor-list:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- run: |
19+
gh repo list iarsystems --limit 1000 | grep 'ewarm-.*-example-projects' | cut -f1 > vendors.txt
20+
21+
- name: Upload vendors
22+
uses: actions/upload-artifact@v7
23+
with:
24+
name: firmwares-srec-hex
25+
if-no-files-found: error
26+
path: |
27+
vendors.txt

0 commit comments

Comments
 (0)