Skip to content

Commit e260999

Browse files
KentZetterbergfelipe-iar
authored andcommitted
1 parent efc556e commit e260999

2 files changed

Lines changed: 96 additions & 17 deletions

File tree

.github/workflows/vendorlist.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
jobs:
12+
generate-vendor-list:
13+
runs-on: ubuntu-latest
14+
env:
15+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
16+
steps:
17+
- run: |
18+
gh repo list iarsystems --limit 1000 | cut -f1 > ewarm-vendors.txt
19+
20+
- name: Upload vendors
21+
uses: actions/upload-artifact@v7
22+
with:
23+
name: ewarm-vendor-list
24+
if-no-files-found: error
25+
path: |
26+
ewarm-vendors.txt

0 commit comments

Comments
 (0)