hotfix: hopefully fix bug in release pipeline

This commit is contained in:
Ryan Brink
2022-01-02 23:34:23 -05:00
parent c29567114d
commit f02f7ad211
2 changed files with 18 additions and 17 deletions

View File

@ -1,4 +1,4 @@
name: Publish to GitHub Packages
name: Publish Release
on:
release:
types:
@ -23,8 +23,6 @@ jobs:
arguments: publishAllPublicationsToGithubPackagesRepository
properties: |
release=true
org.gradle.vfs.watch=false
org.gradle.vfs.verbose=false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
publish-to-nexus:
@ -35,12 +33,13 @@ jobs:
with:
distribution: 'adopt'
java-version: '17'
- name: Publlish to GithubPackages
- name: Publlish to Maven Central
uses: burrunan/gradle-cache-action@v1
with:
gradle-version: wrapper
arguments: publishToSonatype closeAndReleaseSonatypeStagingRepository
properties: |
release=true
org.gradle.vfs.watch=false
org.gradle.vfs.verbose=false
env:
ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.SONATYPE_USER }}
ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.SONATYPE_PASSWORD }}

View File

@ -33,6 +33,7 @@ allprojects {
}
subprojects {
if (this.name != "kompendium-playground") {
apply(plugin = "io.bkbn.sourdough.library")
configure<SourdoughLibraryExtension> {
@ -47,3 +48,4 @@ subprojects {
developerEmail.set("admin@bkbn.io")
}
}
}