Skip to content

Commit b55a19b

Browse files
committed
fix pybump action
1 parent 190013e commit b55a19b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

action.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ runs:
2828
- name: Automated Version Bump
2929
id: version-bump
3030
run: |
31-
if [[ ${{ fromJSON(inputs.app_version) }} ]]
32-
then
31+
if [[ "${{ fromJSON(inputs.app_version) }}" == "true" ]]; then
3332
pybump bump --file ${{ inputs.chart-path }}/Chart.yaml --level ${{ inputs.level }} --app-version
33+
else
34+
pybump bump --file ${{ inputs.chart-path }}/Chart.yaml --level ${{ inputs.level }}
3435
fi
35-
pybump bump --file ${{ inputs.chart-path }}/Chart.yaml --level ${{ inputs.level }}
3636
shell: bash
3737
- name: Output Name
3838
id: chart-name
3939
run: |
40-
echo "::set-output name=chart::$(basename ${{ inputs.chart-path }})"
40+
echo "chart=$(basename ${{ inputs.chart-path }})" >> $GITHUB_OUTPUT
4141
shell: bash

0 commit comments

Comments
 (0)