-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Build and Github Workflows #608
Conversation
matrei
commented
Jan 1, 2025
- Fix resolution of custom groovy version
- Remove use of user/pass auth for remote build cache
- Other miscellaneous updates
- Fix resolution of custom groovy version - Remove use of user/pass auth for remote build cache - Other miscellaneous updates
.github/workflows/gradle.yml
Outdated
run: > | ||
./gradlew | ||
build | ||
run: ./gradlew build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--continue
.github/workflows/gradle.yml
Outdated
- name: "📤 Publish Snapshot Artifacts to Artifactory (repo.grails.org)" | ||
if: success() | ||
env: | ||
DEVELOVITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | ||
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | ||
ORG_GRADLE_PROJECT_artifactoryUsername: ${{ secrets.ARTIFACTORY_USERNAME }} | ||
ORG_GRADLE_PROJECT_artifactoryPassword: ${{ secrets.ARTIFACTORY_PASSWORD }} | ||
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove so we don't publish while publishing to maven central?
.github/workflows/gradle.yml
Outdated
@@ -71,8 +69,6 @@ jobs: | |||
- name: "📖 Generate Snapshot Documentation" | |||
if: success() | |||
env: | |||
DEVELOCITY_BUILD_CACHE_NODE_USER: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }} | |||
DEVELOCITY_BUILD_CACHE_NODE_KEY: ${{ secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }} | |||
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove so we don't publish while publishing to maven central?
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
run: > | ||
./gradlew | ||
build | ||
./gradlew build |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--continue
.github/workflows/release.yml
Outdated
ORG_GRADLE_PROJECT_sonatypeOssUsername: ${{ secrets.SONATYPE_USERNAME }} | ||
ORG_GRADLE_PROJECT_sonatypeOssPassword: ${{ secrets.SONATYPE_PASSWORD }} | ||
ORG_GRADLE_PROJECT_sonatypeOssStagingProfileId: ${{ secrets.SONATYPE_STAGING_PROFILE_ID }} | ||
ORG_GRADLE_PROJECT_sonatypeOssRepo: ${{ secrets.SONATYPE_NEXUS_URL }} | ||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }} | ||
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | ||
run: > | ||
./gradlew |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--no-build-cache
# Conflicts: # gradle/libs.versions.toml