Skip to content

Commit

Permalink
Change environmentCharts input type to string
Browse files Browse the repository at this point in the history
  • Loading branch information
ebronson68 committed Jan 16, 2024
1 parent 6f2281f commit 478f7ea
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump-versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ on:
description: Type of release
environmentCharts:
required: false
type: boolean
type: string
description: Set to true if the repository has separate Helm chart directories for each environment
default: false
default: 'false'
secrets:
PAT_ACTION_CI:
required: false
Expand All @@ -29,15 +29,15 @@ jobs:
uses: thebritican/fetch-latest-release@v2.0.0

- name: Get Chart.yaml appVersion
if: inputs.environmentCharts == false
if: inputs.environmentCharts == 'false'
id: chartyaml
uses: rmeneely/get-yaml-value@v1
with:
infile: deployments/charts/Chart.yaml
varlist: appVersion

- name: Get Environment Chart.yaml appVersion
if: inputs.environmentCharts == true
if: inputs.environmentCharts == 'true'
id: environmentchartyaml
uses: rmeneely/get-yaml-value@v1
with:
Expand Down

0 comments on commit 478f7ea

Please sign in to comment.