This commit is contained in:
parent
85f90ce11b
commit
015f314db0
1 changed files with 3 additions and 1 deletions
|
@ -17,11 +17,13 @@ jobs:
|
||||||
java-version: 8
|
java-version: 8
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- name: Initialize Gradle
|
- name: Initialize Gradle
|
||||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Publish
|
- name: Publish
|
||||||
run: TL_VERSION=$(git log --oneline | wc -l) ./gradlew publish
|
run: TL_VERSION=$(git rev-list --count HEAD) ./gradlew publish
|
||||||
env:
|
env:
|
||||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue