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
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Initialize Gradle
|
||||
uses: https://github.com/gradle/actions/setup-gradle@v3
|
||||
- name: Build
|
||||
run: ./gradlew build
|
||||
- name: Publish
|
||||
run: TL_VERSION=$(git log --oneline | wc -l) ./gradlew publish
|
||||
run: TL_VERSION=$(git rev-list --count HEAD) ./gradlew publish
|
||||
env:
|
||||
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
|
||||
|
|
Loading…
Add table
Reference in a new issue