Skip to content

Commit b2c387d

Browse files
committed
Update workflow to check out the repository on the correct branch and fetch all history and tags
Signed-off-by: matt-ramotar <[email protected]>
1 parent 5f71f5a commit b2c387d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,13 @@ jobs:
1818
api-level:
1919
- 29
2020
steps:
21+
2122
- name: Checkout
2223
uses: actions/checkout@v3
24+
with:
25+
ref: ${{ github.head_ref || github.ref }}
26+
fetch-depth: 0
27+
persist-credentials: false
2328

2429
- name: Set up JDK 11
2530
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)