4810e51743
* pin dagger version to match go.mod * set in e2e too
25 lines
702 B
YAML
25 lines
702 B
YAML
name: Bump version
|
|
description: Updates package.json versions in Grafana and subpackages and regenerates schemas
|
|
inputs:
|
|
version:
|
|
description: The new version (ex. 1.2.3)
|
|
required: true
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: actions/setup-go@v4
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: Bump versions
|
|
uses: dagger/dagger-for-github@e47aba410ef9bb9ed81a4d2a97df31061e5e842e
|
|
env:
|
|
GO_MOD_DIR: ${{ inputs.go-mod-dir }}
|
|
VERSION: ${{ inputs.version }}
|
|
with:
|
|
version: 0.18.8
|
|
verb: run
|
|
args: go run ./pkg/build/actions/bump-version -version=${VERSION}
|
|
- name: make gen-cue
|
|
shell: bash
|
|
run: make gen-cue
|