Fix the build action when running against a tag (#40)
* Update build.yml Change fetch-depth to 0 on the checkout action closes #39 * Update setup-java and gradle-build versions actions/setup-java@v2 -> actions/setup-java@v4 gradle/gradle-build-action@v2 -> gradle/actions/setup-gradle@v3
This commit is contained in:
parent
d28b3b6d7c
commit
d85c69457d
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -9,16 +9,16 @@ jobs:
|
|||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 1000
|
||||
fetch-depth: 0
|
||||
fetch-tags: true
|
||||
|
||||
- name: Setup JDK 17
|
||||
uses: actions/setup-java@v2
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build with Gradle
|
||||
uses: gradle/gradle-build-action@v2
|
||||
uses: gradle/actions/setup-gradle@v3
|
||||
with:
|
||||
arguments: build
|
||||
|
|
Loading…
Reference in a new issue