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