ci: improved readability

chore: changed name in repositories

Signed-off-by: moonleay <contact@moonleay.net>
This commit is contained in:
moonleay 2024-05-07 15:57:00 +02:00
parent b2ed4fea17
commit b286519640
Signed by: moonleay
GPG key ID: 82667543CCD715FB
2 changed files with 6 additions and 1 deletions

View file

@ -7,16 +7,21 @@ jobs:
steps:
- uses: actions/checkout@v3
name: Checkout
- uses: https://github.com/actions/setup-java@v4
name: Setup Java
with:
distribution: temurin
java-version: 17
- uses: https://github.com/gradle/actions/setup-gradle@v3
name: Setup Gradle
- run: ./gradlew runDatagen
name: Generate assets
- run: ./gradlew build
name: Build Project
- run: ./gradlew publish
name: Upload

View file

@ -186,7 +186,7 @@ publishing {
repositories {
if (System.getenv("CI") != null) {
maven {
name = "Codeberg"
name = "Forgejo"
val repoOwner = System.getenv("GITHUB_REPOSITORY_OWNER")
val apiEndpoint = System.getenv("GITHUB_API_URL")
url = uri("$apiEndpoint/packages/$repoOwner/maven")