Skip to content

Commit bf1ceed

Browse files
committed
fix finding stackhpc tf directory
1 parent 8be9087 commit bf1ceed

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/stackhpc.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Find stackhpc tofu/terraform directory
5858
# changed in https://github.com/stackhpc/ansible-slurm-appliance/pull/541
5959
run: |
60-
echo STACKHPC_TF_DIR=$(find environments/.stackhpc/ -type d \( -name terraform -o -name tofu )) >> "$GITHUB_ENV"
60+
echo STACKHPC_TF_DIR=$(find environments/.stackhpc/ -type d \( -name tofu -o -name terraform \)) >> "$GITHUB_ENV"
6161
6262
- name: Override CI_CLOUD if PR label is present
6363
if: ${{ github.event_name == 'pull_request' }}
@@ -187,13 +187,11 @@ jobs:
187187

188188
- name: Checkout current branch
189189
uses: actions/checkout@v4
190-
190+
191191
- name: Find stackhpc tofu/terraform directory
192192
# changed in https://github.com/stackhpc/ansible-slurm-appliance/pull/541
193193
run: |
194-
echo STACKHPC_TF_DIR=$(find environments/.stackhpc/ -type d -name tofu -o -type d -name terraform) >> "$GITHUB_ENV"
195-
# something about GH actions parsing eats \( \) type expressions
196-
194+
echo STACKHPC_TF_DIR=$(find environments/.stackhpc/ -type d \( -name tofu -o -name terraform \)) >> "$GITHUB_ENV"
197195
198196
- name: Reimage login and control nodes to image in current branch
199197
id: reimage_non_compute

0 commit comments

Comments
 (0)