mirror of
https://github.com/GTNewHorizons/Postea.git
synced 2026-11-19 03:49:05 +00:00
buildscript: fix artifact id and group id being incorrect
This commit is contained in:
1 parent
659ad055d4
commit
5af85c307d
2 files changed
+4
-4
No files matched your search
@@ -42,8 +42,8 @@ jobs:
|
||||
run: ./gradlew publish
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GROUP_ID: com.github.${{ env.REPOSITORY_NAME }}
|
||||
ARTIFACT_NAME: "${{ env.REPOSITORY_NAME }}"
|
||||
ARTIFACT_GROUP_ID: com.github.${{ env.REPOSITORY_OWNER }}
|
||||
ARTIFACT_ID: "${{ env.REPOSITORY_NAME }}"
|
||||
ARTIFACT_VERSION: "0.0.1-publish-test"
|
||||
REPOSITORY_NAME: "${{ env.REPOSITORY_NAME }}"
|
||||
REPOSITORY_OWNER: "${{ env.REPOSITORY_OWNER }}"
|
||||
|
||||
+2
-2
@@ -472,8 +472,8 @@ publishing {
|
||||
archives source: apiJar, classifier: "api"
|
||||
}
|
||||
|
||||
groupId = System.getenv("GROUP_ID") ?: group
|
||||
artifactId = System.getenv("ARTIFACT_NAME") ?: project.name
|
||||
groupId = System.getenv("ARTIFACT_GROUP_ID") ?: group
|
||||
artifactId = System.getenv("ARTIFACT_ID") ?: project.name
|
||||
version = System.getenv("ARTIFACT_VERSION") ?: project.version
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user