Skip to content

Commit

Permalink
Fetch all branches and tags to support git tests, and explicitly chec…
Browse files Browse the repository at this point in the history
…kout master branch so that it is available in the local repo
  • Loading branch information
bbpennel committed Apr 6, 2021
1 parent 71cf706 commit d8a2de0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0
- run: |
git fetch origin master
git checkout -b master
git checkout ${{ github.event.pull_request.head.sha }}
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
Expand Down

0 comments on commit d8a2de0

Please sign in to comment.