Skip to content

Commit cce0456

Browse files
committed
ci: Make repetitive command the default one
1 parent 317a4c4 commit cce0456

File tree

2 files changed

+2
-23
lines changed

2 files changed

+2
-23
lines changed

.github/actions/run-in-docker-action/action.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ inputs:
99
required: true
1010
command:
1111
description: 'A command to run in a container'
12-
required: true
12+
required: false
13+
default: ./ci/ci.sh
1314
runs:
1415
using: "composite"
1516
steps:

.github/workflows/ci.yml

-22
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ jobs:
104104
with:
105105
dockerfile: ./ci/linux-debian.Dockerfile
106106
tag: linux-debian-image
107-
command: >
108-
./ci/ci.sh
109107

110108
- run: cat tests.log || true
111109
if: ${{ always() }}
@@ -154,8 +152,6 @@ jobs:
154152
with:
155153
dockerfile: ./ci/linux-debian.Dockerfile
156154
tag: linux-debian-image
157-
command: >
158-
./ci/ci.sh
159155

160156
- run: cat tests.log || true
161157
if: ${{ always() }}
@@ -200,8 +196,6 @@ jobs:
200196
with:
201197
dockerfile: ./ci/linux-debian.Dockerfile
202198
tag: linux-debian-image
203-
command: >
204-
./ci/ci.sh
205199

206200
- run: cat tests.log || true
207201
if: ${{ always() }}
@@ -254,8 +248,6 @@ jobs:
254248
with:
255249
dockerfile: ./ci/linux-debian.Dockerfile
256250
tag: linux-debian-image
257-
command: >
258-
./ci/ci.sh
259251

260252
- run: cat tests.log || true
261253
if: ${{ always() }}
@@ -300,8 +292,6 @@ jobs:
300292
with:
301293
dockerfile: ./ci/linux-debian.Dockerfile
302294
tag: linux-debian-image
303-
command: >
304-
./ci/ci.sh
305295

306296
- run: cat tests.log || true
307297
if: ${{ always() }}
@@ -346,8 +336,6 @@ jobs:
346336
with:
347337
dockerfile: ./ci/linux-debian.Dockerfile
348338
tag: linux-debian-image
349-
command: >
350-
./ci/ci.sh
351339

352340
- run: cat tests.log || true
353341
if: ${{ always() }}
@@ -402,8 +390,6 @@ jobs:
402390
with:
403391
dockerfile: ./ci/linux-debian.Dockerfile
404392
tag: linux-debian-image
405-
command: >
406-
./ci/ci.sh
407393

408394
- run: cat tests.log || true
409395
if: ${{ always() }}
@@ -459,8 +445,6 @@ jobs:
459445
with:
460446
dockerfile: ./ci/linux-debian.Dockerfile
461447
tag: linux-debian-image
462-
command: >
463-
./ci/ci.sh
464448

465449
- run: cat tests.log || true
466450
if: ${{ always() }}
@@ -517,8 +501,6 @@ jobs:
517501
with:
518502
dockerfile: ./ci/linux-debian.Dockerfile
519503
tag: linux-debian-image
520-
command: >
521-
./ci/ci.sh
522504

523505
- run: cat tests.log || true
524506
if: ${{ always() }}
@@ -573,8 +555,6 @@ jobs:
573555
with:
574556
dockerfile: ./ci/linux-debian.Dockerfile
575557
tag: linux-debian-image
576-
command: >
577-
./ci/ci.sh
578558

579559
- run: cat tests.log || true
580560
if: ${{ always() }}
@@ -736,8 +716,6 @@ jobs:
736716
with:
737717
dockerfile: ./ci/linux-debian.Dockerfile
738718
tag: linux-debian-image
739-
command: >
740-
./ci/ci.sh
741719

742720
- run: cat tests.log || true
743721
if: ${{ always() }}

0 commit comments

Comments
 (0)