From cce045630407e662c90279abb2b0e71161f24e74 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Wed, 23 Aug 2023 21:31:57 +0100 Subject: [PATCH] ci: Make repetitive command the default one --- .../actions/run-in-docker-action/action.yml | 3 ++- .github/workflows/ci.yml | 22 ------------------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/.github/actions/run-in-docker-action/action.yml b/.github/actions/run-in-docker-action/action.yml index 30e83ff295..d357c3cf75 100644 --- a/.github/actions/run-in-docker-action/action.yml +++ b/.github/actions/run-in-docker-action/action.yml @@ -9,7 +9,8 @@ inputs: required: true command: description: 'A command to run in a container' - required: true + required: false + default: ./ci/ci.sh runs: using: "composite" steps: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 35b0ca0c88..441cf41ee9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,8 +104,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -154,8 +152,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -200,8 +196,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -254,8 +248,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -300,8 +292,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -346,8 +336,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -402,8 +390,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -459,8 +445,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -517,8 +501,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -573,8 +555,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }} @@ -736,8 +716,6 @@ jobs: with: dockerfile: ./ci/linux-debian.Dockerfile tag: linux-debian-image - command: > - ./ci/ci.sh - run: cat tests.log || true if: ${{ always() }}