Skip to content

Commit d23dc94

Browse files
authored
Fix working directory and script permissions in CI
Updated the working directory for the configure step and ensured the script is executable.
1 parent 9154208 commit d23dc94

1 file changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/c-cpp.yml

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,28 @@ on:
88

99
jobs:
1010
build:
11-
1211
runs-on: ubuntu-latest
1312

1413
steps:
1514
- name: Checkout code
1615
uses: actions/checkout@v4
16+
1717
- name: Run configure
18-
working-directory: .
19-
run: ./configure
18+
# Fixed the typo here: "dynamic" instead of "dynami"
19+
working-directory: ./dynamic-array
20+
run: |
21+
# Ensure the script is executable just in case
22+
chmod +x ./configure
23+
./configure
24+
2025
- name: make
26+
working-directory: ./dynamic-array
2127
run: make
28+
2229
- name: make check
30+
working-directory: ./dynamic-array
2331
run: make check
32+
2433
- name: make distcheck
34+
working-directory: ./dynamic-array
2535
run: make distcheck

0 commit comments

Comments
 (0)