Skip to content

Commit

Permalink
Improving the documentation about Github Actions so the right branch …
Browse files Browse the repository at this point in the history
…appears in coveralls
  • Loading branch information
martin-key committed Dec 1, 2020
1 parent 0a665ec commit aab480b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,13 @@ test:
- run: |
bundle config path vendor/bundle
bundle install --without=documentation --jobs 4 --retry 3
- name: Extract branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: get_branch
- run: bundle exec slather
env:
GIT_BRANCH: ${{ github.event.pull_request.head.ref }}
GIT_BRANCH: ${{ steps.get_branch.outputs.branch }}
CI_PULL_REQUEST: ${{ github.event.number }}
COVERAGE_ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit aab480b

Please sign in to comment.