Skip to content

v0.9.0

v0.9.0 #23

Workflow file for this run

name: Helm Package
on:
release:
types: [published]
jobs:
package:
runs-on: ubuntu-latest
strategy:
matrix:
release:
- 'quantum-serverless'
- 'qs-observability'
steps:
- name: Set up Helm
uses: azure/setup-helm@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Checkout
uses: actions/checkout@v3
- name: Build Helm Package
id: package
run: |
helm package ./charts/${{ matrix.release }} -u
echo "VERSION=${GITHUB_REF_NAME/v}" >> $GITHUB_OUTPUT
- name: Upload Helm Package
uses: actions/upload-artifact@v3
with:
name: helm-package
path: ./${{ matrix.release }}-${{ steps.package.outputs.VERSION }}.tgz
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: ./${{ matrix.release }}-${{ steps.package.outputs.VERSION }}.tgz
asset_name: ${{ matrix.release }}-${{ steps.package.outputs.VERSION }}.tgz
asset_content_type: application/zip