From 3d419f06e0bd37815467df109bc11d065d258717 Mon Sep 17 00:00:00 2001 From: Hari Sekhon Date: Mon, 10 Feb 2020 15:13:24 +0000 Subject: [PATCH] updated centos6.yaml --- .github/workflows/centos6.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/centos6.yaml b/.github/workflows/centos6.yaml index d94adeab..7be689d7 100644 --- a/.github/workflows/centos6.yaml +++ b/.github/workflows/centos6.yaml @@ -32,6 +32,8 @@ jobs: timeout-minutes: 10 runs-on: ubuntu-latest container: centos:6 + env: + repo: bash-tools steps: # untars repo in docker container so git submodule update fails #- uses: actions/checkout@v2 @@ -43,13 +45,13 @@ jobs: yum install -y git make - name: git clone run: | - cd / && - git clone https://github.com/harisekhon/bash-tools + cd /tmp && + git clone "https://github.com/harisekhon/$repo" - name: build run: | - cd /bash-tools && + cd "/tmp/$repo" && make - name: test run: | - cd /bash-tools && + cd "/tmp/$repo" && make test