Skip to content

Commit

Permalink
Try with id
Browse files Browse the repository at this point in the history
  • Loading branch information
robg-test committed Feb 8, 2023
1 parent 4d21f6f commit 8ae3529
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@ jobs:
name: "Determine Terraform Modules"
runs-on: ubuntu-latest
outputs:
modules: ${{ steps.determine-modules.outputs.modules }}
modules: ${{ steps.list-modules.outputs.modules }}
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Extract dirs from Terraform_Modules
id: list-modules
uses: sergeysova/jq-action@v2
with:
cmd: modules=$(ls Terraform_modules | jq -R -s -c 'split("\n")[:-1]') >> $GITHUB_OUTPUT
cmd: modules=$(ls Terraform_modules | jq -R -s -c 'split("\n")[:-1]')

terraform-check:
name: "Check Terraform"
Expand Down

0 comments on commit 8ae3529

Please sign in to comment.