fix versioning
All checks were successful
/ Build & Publish (push) Successful in 49s

This commit is contained in:
Daniella 2024-06-25 05:53:38 +02:00
parent 85f90ce11b
commit 015f314db0
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -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 }}