|
|
|
|
@ -57,6 +57,26 @@ jobs:
|
|
|
|
|
echo "::set-output name=product-version::$VERSION"
|
|
|
|
|
echo "::set-output name=product-minor-version::$MINOR_VERSION"
|
|
|
|
|
|
|
|
|
|
generate-metadata-file:
|
|
|
|
|
needs: get-product-version
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
outputs:
|
|
|
|
|
filepath: ${{ steps.generate-metadata-file.outputs.filepath }}
|
|
|
|
|
steps:
|
|
|
|
|
- name: 'Checkout directory'
|
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
- name: Generate metadata file
|
|
|
|
|
id: generate-metadata-file
|
|
|
|
|
uses: hashicorp/actions-generate-metadata@main
|
|
|
|
|
with:
|
|
|
|
|
version: ${{ needs.get-product-version.outputs.product-version }}
|
|
|
|
|
product: ${{ env.PKG_NAME }}
|
|
|
|
|
|
|
|
|
|
- uses: actions/upload-artifact@v3
|
|
|
|
|
with:
|
|
|
|
|
name: metadata.json
|
|
|
|
|
path: ${{ steps.generate-metadata-file.outputs.filepath }}
|
|
|
|
|
|
|
|
|
|
build-other:
|
|
|
|
|
needs:
|
|
|
|
|
- product-metadata
|
|
|
|
|
|