Skip to content

Commit cd3dd1e

Browse files
committed
Update package jobs to invoke ninja using -C build
Because this saves vertical space in the `.yaml` file.
1 parent 00cbf05 commit cd3dd1e

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

.github/workflows/release-packages.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ jobs:
4343
- name: Zero ccache stats and limit in size
4444
run: ccache -z --max-size=500M
4545
- name: Build using Ninja
46-
run: |
47-
cd build
48-
ninja -j2
46+
run: ninja -C build -j2
4947
- name: Print ccache stats
5048
run: ccache -s
5149
- name: Run CTest
@@ -118,9 +116,7 @@ jobs:
118116
- name: Zero ccache stats and limit in size
119117
run: ccache -z --max-size=500M
120118
- name: Build using Ninja
121-
run: |
122-
cd build
123-
ninja -j2
119+
run: ninja -C build -j2
124120
- name: Print ccache stats
125121
run: ccache -s
126122
- name: Run CTest
@@ -206,9 +202,7 @@ jobs:
206202
- name: Zero ccache stats and limit in size
207203
run: ccache -z --max-size=500M
208204
- name: Build using Ninja
209-
run: |
210-
cd build
211-
ninja -j2
205+
run: ninja -C build -j2
212206
- name: Print ccache stats
213207
run: ccache -s
214208
- name: Run CTest

0 commit comments

Comments
 (0)