github-action: fetch the repo fully to get version info

This commit is contained in:
Jacker 2024-01-24 18:32:57 +02:00
parent 87b680c9c4
commit 66f28f9188
No known key found for this signature in database
GPG key ID: 1ACCC1587C75F319
2 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,9 @@ jobs:
steps:
- uses: actions/checkout@v4
name: Checkout sources
with:
depth: 0
fetch-tags: true
- uses: actions/setup-java@v4
name: Setup Java 17

View file

@ -30,7 +30,7 @@ publishing {
publications {
maven(MavenPublication) {
groupId = 'com.etlegacy.android'
artifactId = 'JoyStick'
artifactId = 'joystick'
version = project.version
pom {