Skip to content

Commit 2291647

Browse files
authored
Merge pull request #2 from analyticsMD/cache-configuration-for-local-runners
Cache-configuration-for-local-runners
2 parents 9382cdd + e96764e commit 2291647

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

action.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ inputs:
4141
description: "Enable action debug mode. Default: 'false'"
4242
default: 'false'
4343
required: false
44+
cache-dependencies:
45+
description: "Enable installed dependency caching. Default: 'true'"
46+
default: 'true'
47+
required: false
4448
token:
4549
description:
4650
Used to pull node distributions for Atmos from Cloud Posse's GitHub repository. Since there's a default, this is typically
@@ -182,7 +186,7 @@ runs:
182186
- name: Install Dependencies
183187
uses: cloudposse-github-actions/install-gh-releases@v1
184188
with:
185-
cache: true
189+
cache: ${{ inputs.cache-dependencies }}
186190
config: |-
187191
opentofu/opentofu:
188192
tag: ${{ startsWith(fromJson(steps.atmos-settings.outputs.settings).opentofu-version, 'v') && fromJson(steps.atmos-settings.outputs.settings).opentofu-version || format('v{0}', fromJson(steps.atmos-settings.outputs.settings).opentofu-version) }}

0 commit comments

Comments
 (0)