ci: always fetch full git tree
This ensures that the maven git info plugin works properly.
Not entirely clear why a shallow clone doesn't work.
MODIFY
.github/workflows/verify.yaml
.github/workflows/verify.yaml
@@ -6,7 +6,7 @@ on:
- 'LICENSE'
- 'README*'
- 'CODE_OF_CONDUCT*'
- branches: [master, 3.x]
+ branches: [master]
pull_request:
paths-ignore:
- '.github/**'
@@ -40,13 +40,12 @@ jobs:
# Vert.x file/static
- name: Vert.x with immutable file registry
command: -Dapiman.gateway-test.config=vertx3-file
-# # AMG (API Management Gateway / EAP)
-# - name: AMG 1
-# command: -Dapiman.gateway-test.config=amg-1
steps:
- name: Checkout Code
uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
@@ -94,6 +93,8 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- name: Cache local Maven repository
uses: actions/cache@v2
@@ -130,6 +131,8 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v2
+ with:
+ fetch-depth: 0
- name: Cache local Maven repository
uses: actions/cache@v2

ci: always fetch full git tree 

This ensures that the maven git info plugin works properly.

Not entirely clear why a shallow clone doesn't work.