Skip to content

Commit

Permalink
fix(action/settings): move settings lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
dudymas committed Dec 30, 2023
1 parent f9e8226 commit 31d7904
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,6 @@ runs:
run: |-
echo "ATMOS_CLI_CONFIG_PATH=$(realpath ${{ steps.config.outputs.atmos-config-path }})" >> $GITHUB_ENV
- name: Filter Atmos Settings Value
uses: cloudposse/github-action-atmos-get-setting@v1
id: atmos-github-actions-enabled
with:
component: ${{ inputs.component }}
stack: ${{ inputs.stack }}
settings-path: settings.github.actions_enabled

- name: Cache Dependencies
id: cache-dependencies
uses: actions/cache/restore@v3
Expand Down Expand Up @@ -140,6 +132,14 @@ runs:
/runner/_work/_tool/suzuki-shunsuke/tfcmt/v4.6.0/linux-x64/tfcmt
key: atmos-plan-${{ hashFiles( inputs.atmos-gitops-config-path ) }}

- name: Filter Atmos Settings Value
uses: cloudposse/github-action-atmos-get-setting@v1
id: atmos-github-actions-enabled
with:
component: ${{ inputs.component }}
stack: ${{ inputs.stack }}
settings-path: settings.github.actions_enabled

- name: Find component path
if: ${{ steps.atmos-github-actions-enabled.outputs.value == 'true' }}
uses: cloudposse/github-action-atmos-get-setting@v1
Expand Down

0 comments on commit 31d7904

Please sign in to comment.