hotfix: hopefully fix bug in release pipeline
This commit is contained in:
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -1,4 +1,4 @@
|
|||||||
name: Publish to GitHub Packages
|
name: Publish Release
|
||||||
on:
|
on:
|
||||||
release:
|
release:
|
||||||
types:
|
types:
|
||||||
@ -23,8 +23,6 @@ jobs:
|
|||||||
arguments: publishAllPublicationsToGithubPackagesRepository
|
arguments: publishAllPublicationsToGithubPackagesRepository
|
||||||
properties: |
|
properties: |
|
||||||
release=true
|
release=true
|
||||||
org.gradle.vfs.watch=false
|
|
||||||
org.gradle.vfs.verbose=false
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish-to-nexus:
|
publish-to-nexus:
|
||||||
@ -35,12 +33,13 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
distribution: 'adopt'
|
distribution: 'adopt'
|
||||||
java-version: '17'
|
java-version: '17'
|
||||||
- name: Publlish to GithubPackages
|
- name: Publlish to Maven Central
|
||||||
uses: burrunan/gradle-cache-action@v1
|
uses: burrunan/gradle-cache-action@v1
|
||||||
with:
|
with:
|
||||||
gradle-version: wrapper
|
gradle-version: wrapper
|
||||||
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
|
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
|
||||||
properties: |
|
properties: |
|
||||||
release=true
|
release=true
|
||||||
org.gradle.vfs.watch=false
|
env:
|
||||||
org.gradle.vfs.verbose=false
|
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USER }}
|
||||||
|
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}
|
||||||
|
@ -33,17 +33,19 @@ allprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
subprojects {
|
subprojects {
|
||||||
apply(plugin = "io.bkbn.sourdough.library")
|
if (this.name != "kompendium-playground") {
|
||||||
|
apply(plugin = "io.bkbn.sourdough.library")
|
||||||
|
|
||||||
configure<SourdoughLibraryExtension> {
|
configure<SourdoughLibraryExtension> {
|
||||||
githubOrg.set("bkbnio")
|
githubOrg.set("bkbnio")
|
||||||
githubRepo.set("kompendium")
|
githubRepo.set("kompendium")
|
||||||
libraryName.set("Kompendium")
|
libraryName.set("Kompendium")
|
||||||
libraryDescription.set("A minimally invasive OpenAPI spec generator for Ktor")
|
libraryDescription.set("A minimally invasive OpenAPI spec generator for Ktor")
|
||||||
licenseName.set("MIT License")
|
licenseName.set("MIT License")
|
||||||
licenseUrl.set("https://mit-license.org")
|
licenseUrl.set("https://mit-license.org")
|
||||||
developerId.set("bkbnio")
|
developerId.set("bkbnio")
|
||||||
developerName.set("Ryan Brink")
|
developerName.set("Ryan Brink")
|
||||||
developerEmail.set("admin@bkbn.io")
|
developerEmail.set("admin@bkbn.io")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user