put it back

This commit is contained in:
Lucas Gravley 2020-02-04 15:58:06 -06:00
parent df4d63e909
commit b558ed7921

View file

@ -53,12 +53,18 @@ jobs:
shell: bash shell: bash
run: .automation/upload-docker.sh run: .automation/upload-docker.sh
#######################
# Get the branch name #
#######################
- name: Extract branch name
shell: bash
run: echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
################################ ################################
# Run Linter against code base # # Run Linter against code base #
################################ ################################
- name: Run Test Cases - name: Run Test Cases
shell: bash shell: bash
run: | run: |
echo "::set-env name=BRANCH_NAME::$(echo ${GITHUB_REF#refs/heads/} | sed 's/\//_/g')"
docker pull admiralawkbar/super-linter:${BRANCH_NAME} docker pull admiralawkbar/super-linter:${BRANCH_NAME}
docker run -e RUN_LOCAL=true -e TEST_CASE_RUN=true -v ${GITHUB_WORKSPACE}:/tmp/lint admiralawkbar/super-linter:${BRANCH_NAME} docker run -e RUN_LOCAL=true -e TEST_CASE_RUN=true -v ${GITHUB_WORKSPACE}:/tmp/lint admiralawkbar/super-linter:${BRANCH_NAME}