Skip to content

Commit

Permalink
gh_artifact_merge_multiple_default
Browse files Browse the repository at this point in the history
  • Loading branch information
DCamma committed Oct 23, 2024
1 parent 443721a commit d826ad2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/docker-build-push-ecr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ on:
artifact_merge_multiple:
description: "When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path. Optional. Default is 'false'."
type: boolean
default: false
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -69,7 +70,7 @@ jobs:
ARTIFACT_PATH: ${{ inputs.artifact_path || vars.artifact_path }}
ARTIFACT_NAME: ${{ inputs.artifact_name || vars.artifact_name }}
ARTIFACT_PATTERN: ${{ inputs.artifact_pattern || vars.artifact_pattern }}
ARTIFACT_MERGE_MULTIPLE: ${{ inputs.artifact_merge_multiple || vars.artifact_merge_multiple || false}}
ARTIFACT_MERGE_MULTIPLE: ${{ inputs.artifact_merge_multiple || vars.artifact_merge_multiple }}
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
if: env.ARTIFACT_PATH != '' || env.ARTIFACT_NAME != ''
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tf-apply.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ on:
gh_artifact_merge_multiple:
description: "When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path. Optional. Default is 'false'."
type: boolean
default: false
tf_dir:
description: "Path to the Terraform root module to apply."
type: string
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
GH_ARTIFACT_PATH: ${{ inputs.gh_artifact_path || vars.gh_artifact_path }}
GH_ARTIFACT_NAME: ${{ inputs.gh_artifact_name || vars.gh_artifact_name }}
GH_ARTIFACT_PATTERN: ${{ inputs.gh_artifact_pattern || vars.gh_artifact_pattern }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple || false }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple }}
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
if: env.GH_ARTIFACT_PATH != '' || env.GH_ARTIFACT_NAME != ''
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tf-feature.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ on:
gh_artifact_merge_multiple:
description: "When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path. Optional. Default is 'false'."
type: boolean
default: false
tf_dir:
description: "Terraform directory"
type: string
Expand Down Expand Up @@ -101,7 +102,7 @@ jobs:
GH_ARTIFACT_PATH: ${{ inputs.gh_artifact_path || vars.gh_artifact_path }}
GH_ARTIFACT_NAME: ${{ inputs.gh_artifact_name || vars.gh_artifact_name }}
GH_ARTIFACT_PATTERN: ${{ inputs.gh_artifact_pattern || vars.gh_artifact_pattern }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple || false }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple }}
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
if: env.GH_ARTIFACT_PATH != '' || env.GH_ARTIFACT_NAME != ''
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tf-plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ on:
gh_artifact_merge_multiple:
description: "When multiple artifacts are matched, this changes the behavior of the destination directories. If true, the downloaded artifacts will be in the same directory specified by path. If false, the downloaded artifacts will be extracted into individual named directories within the specified path. Optional. Default is 'false'."
type: boolean
default: false
gh_comment:
description: "Whether to post a comment on the PR with the Terraform plan"
type: string
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
GH_ARTIFACT_PATH: ${{ inputs.gh_artifact_path || vars.gh_artifact_path }}
GH_ARTIFACT_NAME: ${{ inputs.gh_artifact_name || vars.gh_artifact_name }}
GH_ARTIFACT_PATTERN: ${{ inputs.gh_artifact_pattern || vars.gh_artifact_pattern }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple || false }}
GH_ARTIFACT_MERGE_MULTIPLE: ${{ inputs.gh_artifact_merge_multiple || vars.gh_artifact_merge_multiple }}
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
if: env.GH_ARTIFACT_PATH != '' || env.GH_ARTIFACT_NAME != ''
with:
Expand Down

0 comments on commit d826ad2

Please sign in to comment.