Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ jobs:

steps:
- name: "Checkout Branch"
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: "Setup Java"
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'

- name: Setup Gradle cache
uses: actions/cache@v3
uses: actions/cache@v5
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('versions.properties') }}-${{ github.sha }}
Expand All @@ -43,7 +43,7 @@ jobs:
run: ./gradlew --build-cache build -x test

- name: Upload build reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v7
if: ${{ failure() || contains(github.event.pull_request.labels.*.name, 'force reports') }}
with:
name: Build Reports
Expand All @@ -60,17 +60,17 @@ jobs:

steps:
- name: "Checkout Branch"
uses: actions/checkout@v3
uses: actions/checkout@v6

- name: "Setup Java"
uses: actions/setup-java@v3
uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: 21
cache: 'gradle'

- name: Setup Gradle cache
uses: actions/cache@v3
uses: actions/cache@v5
with:
path: ~/.gradle
key: ${{ runner.os }}-gradle-${{ hashFiles('versions.properties') }}-${{ github.sha }}
Expand All @@ -82,7 +82,7 @@ jobs:
run: ./gradlew --build-cache check

- name: Upload test reports
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v7
if: ${{ failure() || contains(github.event.pull_request.labels.*.name, 'force reports') }}
with:
name: Test Reports
Expand Down
4 changes: 3 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ plugins {
id("org.jlleitschuh.gradle.ktlint") version "11.6.1"
`maven-publish`
signing
id("io.github.gradle-nexus.publish-plugin") version "1.3.0"
id("io.github.gradle-nexus.publish-plugin") version "2.0.0"
}

group = "org.openbase"
Expand Down Expand Up @@ -62,6 +62,8 @@ nexusPublishing {
sonatype {
username.set(findProperty("MAVEN_CENTRAL_USERNAME")?.let { it as String? })
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the update.

password.set(findProperty("MAVEN_CENTRAL_TOKEN")?.let { it as String? })
nexusUrl.set(uri("https://ossrh-staging-api.central.sonatype.com/service/local/"))
snapshotRepositoryUrl.set(uri("https://central.sonatype.com/repository/maven-snapshots/"))
}
}
}
Expand Down
Loading