Skip to content

Update appVersion

Update appVersion #71

name: Update appVersion
on:
workflow_dispatch:
inputs:
app_version:
description: Scalr Agent version in format x.y.z (without `agent/` prefix).
required: true
type: string
jobs:
update-app-version:
name: Update appVersion
runs-on: ubuntu-latest
steps:
- name: Sudo GitHub Token
id: generate_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{vars.SUDO_GHA_APP_ID}}
installation_id: ${{vars.SUDO_GHA_APP_INSTALLATION_ID}}
private_key: ${{secrets.SUDO_GHA_APP_PRIVATE_KEY}}
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ steps.generate_token.outputs.token }}
- name: Setup helm-docs
uses: ./.github/actions/setup-helm-docs
- name: Main
uses: ./.github/actions/update-app-version
with:
app_version: ${{inputs.app_version}}