Generate metadata bundle for tags (#2674)

Signed-off-by: Bernd Verst <github@bernd.dev>
Co-authored-by: Alessandro (Ale) Segala <43508+ItalyPaleAle@users.noreply.github.com>
This commit is contained in:
Bernd Verst 2023-03-15 12:01:14 -07:00 committed by GitHub
parent c8df937286
commit 1edb32be65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
name: Generate and Upload Component Metadata Bundle on Push to Tag
on:
push:
tags:
- '*'
jobs:
upload-bundle:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Build bundle.json
run: make bundle-component-metadata
- name: Upload component-metadata-bundle.json
uses: actions/upload-artifact@v3
with:
name: component-metadata-bundle.json
path: ./component-metadata-bundle.json