Skip to content

Commit

Permalink
Update workflow to check out the repository on the correct branch and…
Browse files Browse the repository at this point in the history
… fetch all history and tags

Signed-off-by: matt-ramotar <[email protected]>
  • Loading branch information
matt-ramotar committed Nov 24, 2024
1 parent 5f71f5a commit b2c387d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ jobs:
api-level:
- 29
steps:

- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ github.head_ref || github.ref }}
fetch-depth: 0
persist-credentials: false

- name: Set up JDK 11
uses: actions/setup-java@v4
Expand Down

0 comments on commit b2c387d

Please sign in to comment.