diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3d9fe28..4a4bce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -55,6 +55,8 @@ jobs: if: "${{ runner.os == 'Linux' && env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}" run: ./gradlew -PforceSign=true publish env: + ORG_GRADLE_PROJECT_githubPackagesUsername: "${{ github.actor }}" + ORG_GRADLE_PROJECT_githubPackagesPassword: "${{ secrets.GITHUB_TOKEN }}" ORG_GRADLE_PROJECT_spongeSnapshotRepo: "${{ secrets.SPONGE_MAVEN_SNAPSHOT_REPO_URL }}" ORG_GRADLE_PROJECT_spongeReleaseRepo: "${{ secrets.SPONGE_MAVEN_RELEASE_REPO_URL }}" ORG_GRADLE_PROJECT_spongeUsername: "${{ secrets.SPONGE_MAVEN_REPO_USER }}" @@ -65,6 +67,8 @@ jobs: if: "${{ runner.os == 'Linux' && env.STATUS == 'release' && github.event_name == 'release' }}" run: ./gradlew publish publishPlugins env: + ORG_GRADLE_PROJECT_githubPackagesUsername: "${{ github.actor }}" + ORG_GRADLE_PROJECT_githubPackagesPassword: "${{ secrets.GITHUB_TOKEN }}" ORG_GRADLE_PROJECT_spongeSnapshotRepo: "${{ secrets.SPONGE_MAVEN_SNAPSHOT_REPO_URL }}" ORG_GRADLE_PROJECT_spongeReleaseRepo: "${{ secrets.SPONGE_MAVEN_RELEASE_REPO_URL }}" ORG_GRADLE_PROJECT_spongeUsername: "${{ secrets.SPONGE_MAVEN_REPO_USER }}" diff --git a/build.gradle.kts b/build.gradle.kts index 793789b..6d041c0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -48,6 +48,7 @@ subprojects { extensions.configure(IndraExtension::class) { github("SpongePowered", "SpongeGradle") { ci = true + publishing = true } mitLicense()