Skip to content

Commit

Permalink
This would be cleanable too
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jan 23, 2020
1 parent fd42d37 commit 6d7a34c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,10 @@ jobs:
bin/setup.sh
bin/rake
- name: Fetch target branch
run: git fetch --no-tags --prune --depth=1 origin +refs/heads/$GITHUB_HEAD_REF:refs/remotes/origin/$GITHUB_HEAD_REF

- name: Save coverage
run: |
export GIT_BRANCH=$GITHUB_HEAD_REF
export GIT_COMMIT_SHA=$(git rev-parse origin/$GITHUB_HEAD_REF)
echo "GIT_BRANCH: $GIT_BRANCH"
echo "GIT_COMMIT_SHA: $GIT_COMMIT_SHA"
cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.version }}-${{ matrix.line_editor }}-${{ matrix.compiler }}.json
git fetch --no-tags --prune --depth=1 origin +refs/heads/$GITHUB_HEAD_REF:refs/remotes/origin/$GITHUB_HEAD_REF
GIT_BRANCH=$GITHUB_HEAD_REF GIT_COMMIT_SHA=$(git rev-parse origin/$GITHUB_HEAD_REF) cc-test-reporter format-coverage --output coverage/codeclimate.${{ matrix.version }}-${{ matrix.line_editor }}-${{ matrix.compiler }}.json
- uses: actions/upload-artifact@v1
with:
Expand Down

0 comments on commit 6d7a34c

Please sign in to comment.