Skip to content

Commit

Permalink
Release workflow update + remove unused repositories
Browse files Browse the repository at this point in the history
  • Loading branch information
ed0906 committed Mar 11, 2024
1 parent 35fcd52 commit 31b4c1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,19 @@ jobs:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}

- name: Assemble Packages
run: ./gradlew -xtest jar
- name: Publish Packages
run: ./gradlew -xjar publish
run: ./gradlew -xtest jar javadocJar kotlinSourcesJar

- name: Sign Packages
run: ./gradlew -xjar signMavenPublication
env:
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
GPG_SIGNING_PASSPHRASE: ${{ secrets.GPG_SIGNING_PASSPHRASE }}

- name: Publish Packages
run: ./gradlew publishToSonatype closeAndReleaseStagingRepositories
env:
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions spring-boot-test-dbunit/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@ plugins {
}

repositories {
mavenLocal()
mavenCentral()
maven("https://oss.sonatype.org/content/repositories/snapshots/")
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/")
}

java {
Expand Down

0 comments on commit 31b4c1e

Please sign in to comment.