Skip to content

Commit

Permalink
ci: Make repetitive command the default one
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Aug 23, 2023
1 parent 4d7fe60 commit 5cacbf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 34 deletions.
5 changes: 4 additions & 1 deletion .github/actions/run-in-docker-action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ inputs:
required: true
command:
description: 'A command to run in a container'
required: true
required: false
default: |
git config --global --add safe.directory ${{ github.workspace }}
./ci/ci.sh
runs:
using: "composite"
steps:
Expand Down
33 changes: 0 additions & 33 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -155,9 +152,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -202,9 +196,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -257,9 +248,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -304,9 +292,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -351,9 +336,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -408,9 +390,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -466,9 +445,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -525,9 +501,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -582,9 +555,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

- run: cat tests.log || true
if: ${{ always() }}
Expand Down Expand Up @@ -746,9 +716,6 @@ jobs:
with:
dockerfile: ./ci/linux-debian.Dockerfile
tag: linux-debian-image
command: >
git config --global --add safe.directory ${{ github.workspace }} &&
./ci/ci.sh

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

0 comments on commit 5cacbf4

Please sign in to comment.