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