Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

Commit 02c691f

Browse files
authored
Merge pull request #72 from jdaugherty/7.0.x
Update profile build for 7.x Publish Plugin
2 parents 738de94 + 3b5113f commit 02c691f

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/gradle.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
env:
1818
WORKSPACE: ${{ github.workspace }}
1919
GRADLE_OPTS: -Xmx1500m -Dfile.encoding=UTF-8
20+
MAVEN_PUBLISH_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
21+
MAVEN_PUBLISH_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
22+
MAVEN_PUBLISH_URL: 'https://repo.grails.org/grails/libs-snapshots-local'
2023
steps:
2124
- uses: actions/checkout@v2
2225
- uses: actions/cache@v2
@@ -34,8 +37,5 @@ jobs:
3437
run: ./gradlew assemble
3538
- name: Publish to repo.grails.org
3639
if: success() && github.event_name == 'push' && matrix.java == '17'
37-
env:
38-
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
39-
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
4040
run: |
4141
./gradlew publish

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
token: ${{ secrets.GITHUB_TOKEN }}
3838
- name: Publish to Sonatype OSSRH
3939
env:
40-
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
41-
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
42-
SONATYPE_NEXUS_URL: ${{ secrets.SONATYPE_NEXUS_URL }}
43-
SONATYPE_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
40+
NEXUS_PUBLISH_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
41+
NEXUS_PUBLISH_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
42+
NEXUS_PUBLISH_URL: ${{ secrets.SONATYPE_NEXUS_URL }}
43+
NEXUS_PUBLISH_STAGING_PROFILE_ID: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }}
4444
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
4545
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
4646
SECRING_FILE: ${{ secrets.SECRING_FILE }}

build.gradle

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ buildscript {
1212
}
1313

1414
apply plugin: "org.grails.grails-profile"
15-
apply plugin: "org.grails.internal.grails-profile-publish"
1615
apply plugin: "io.spring.dependency-management"
1716

1817
group 'org.grails.profiles'
1918
version project.projectVersion
2019

20+
apply plugin: "org.grails.grails-profile-publish"
2121
grailsPublish {
22-
userOrg = 'grails'
2322
githubSlug = 'grails-profiles/react'
2423
license = 'Apache-2.0'
2524
title = "React Profile"

0 commit comments

Comments
 (0)