Skip to content

Commit

Permalink
Merge pull request #10 from DFE-Digital/booleans-in-gha-not-booleans
Browse files Browse the repository at this point in the history
Booleans in gha not booleans
  • Loading branch information
pritchyspritch authored Nov 14, 2024
2 parents d9f4716 + 38491e6 commit bcbfca5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ inputs:
type: string
default: config.toml
production:
description: Boolean stating you would like to push to production
description: String stating a boolean value you would like to push to production (booleans and types are not supported)
required: false
type: boolean
default: true
type: string
default: 'true'
runs:
using: composite
steps:
Expand All @@ -43,7 +43,7 @@ runs:

- name: Install splunk-app-packager
shell: bash
run: pip install splunk-app-packager==0.0.3
run: pip install splunk-app-packager==0.0.4

- name: package, validate, deploy (production)
shell: bash
Expand All @@ -53,7 +53,7 @@ runs:
SPLUNK_ACS_TOKEN: ${{ inputs.splunk_acs_token }}
SPLUNK_ACS_STACK: ${{ inputs.splunk_acs_stack }}
run: sap --prod ${{ inputs.app_package_path }} --config-path ${{ inputs.config_toml_path }}
if: ${{ inputs.production == true }}
if: ${{ inputs.production == 'true' }}


- name: package, validate, deploy (development)
Expand All @@ -64,5 +64,5 @@ runs:
SPLUNK_ACS_TOKEN: ${{ inputs.splunk_acs_token }}
SPLUNK_ACS_STACK: ${{ inputs.splunk_acs_stack }}
run: sap ${{ inputs.app_package_path }} --config-path ${{ inputs.config_toml_path }}
if: ${{ inputs.production == false }}
if: ${{ inputs.production == 'false' }}

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "splunk_app_packager"
version = "0.0.3"
version = "0.0.4"
authors = [
{ name="Sam Pritchard", email="47423802+pritchyspritch@users.noreply.github.com" },
{ name="Ian Pearl", email="ian.pearl@education.gov.uk" },
Expand Down

0 comments on commit bcbfca5

Please sign in to comment.