Skip to content

Update appVersion

Update appVersion #55

name: Update appVersion
on:
workflow_dispatch:
inputs:
distinct_id:
chart:
required: true
description: Path to chart to update
appVersion:
required: true
description: The desired version
jobs:
update:
runs-on: ubuntu-latest
steps:
- name: echo distinct ID ${{ inputs.distinct_id }}
run: echo ${{ inputs.distinct_id }}
- name: Checkout
uses: actions/checkout@v3
- name: Install PyBump
run: pip install pybump
- name: The chart ${{ inputs.chart }} will be updated to appVersion ${{ inputs.appVersion }} and automatically bumped
run: echo The chart ${{ inputs.chart }} will be updated to appVersion ${{ inputs.appVersion }}
- name: update appVersion
run: pybump set --app-version --set-version ${{ inputs.appVersion }} --file ${{ inputs.chart }}/Chart.yaml
- name: update version
run: pybump bump --level patch --file charts/zaakbrug/Chart.yaml
- uses: stefanzweifel/git-auto-commit-action@v5
release:
uses: ./.github/workflows/release.yml

Check failure on line 32 in .github/workflows/update-app-version.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/update-app-version.yml

Invalid workflow file

error parsing called workflow ".github/workflows/update-app-version.yml" -> "./.github/workflows/release.yml" (source branch with sha:6187a1870bebd90445633556694938f6186cbac3) : workflow is not reusable as it is missing a `on.workflow_call` trigger
needs: update