From 72bb6197ce4210ce0a6db2ba6a1de57835272b6b Mon Sep 17 00:00:00 2001 From: dannc Date: Thu, 12 Mar 2020 17:52:15 +0700 Subject: [PATCH] Actions: Drop change directory command and add echo --- .github/workflows/continious-integration.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/.github/workflows/continious-integration.yml b/.github/workflows/continious-integration.yml index 3d5a31f..c2d533b 100644 --- a/.github/workflows/continious-integration.yml +++ b/.github/workflows/continious-integration.yml @@ -14,13 +14,18 @@ jobs: - name: Build the Docker image run: | - cd ./v7.2 - docker build --tag=local-composer:7.2 `pwd` + docker build --tag=local-composer:7.2 ./v7.2 docker run --rm local-composer:7.2 php -v - cd .. + echo "Done" - # - name: Build the Docker image 7.3 - # run: docker build --tag=local-composer:7.3 ./v7.3 + - name: Build the Docker image 7.3 + run: | + docker build --tag=local-composer:7.3 ./v7.3 + docker run --rm local-composer:7.3 php -v + echo "Done" - # - name: Build the Docker image 7.4 - # run: docker build --tag=local-composer:7.2 ./v7.2 + - name: Build the Docker image 7.4 + run: | + docker build --tag=local-composer:7.4 ./v7.4 + docker run --rm local-composer:7.4 php -v + echo "Done"