Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Release Bootstrap Component #10

Release Bootstrap Component

Release Bootstrap Component #10

name: Release Bootstrap Component
on:
workflow_dispatch:
inputs:
version:
type: string
description: 'Version to release'
required: false
default: "v0.0.1"
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Restore Go cache
uses: actions/cache@v3
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '>=1.20.0'
- name: Checkout mpas repository
uses: actions/checkout@v3
- name: Build Bootstrap
run: |
BOOTSTRAP_RELEASE_VERSION=${{ github.event.inputs.version }} make build-release-bootstrap-component
- name: Push Bootstrap
run: |
GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} make release-bootstrap-component