Skip to content

Commit

Permalink
ci: pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
matrei committed Jan 2, 2025
1 parent 4601371 commit 9a83fc9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 23 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,24 +55,19 @@ jobs:
- name: "🔨 Build project"
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew build
run: ./gradlew build --continue
- name: "📤 Publish Snapshot Artifacts to Artifactory (repo.grails.org)"
if: success()
env:
ORG_GRADLE_PROJECT_artifactoryUsername: ${{ secrets.ARTIFACTORY_USERNAME }}
ORG_GRADLE_PROJECT_artifactoryPassword: ${{ secrets.ARTIFACTORY_PASSWORD }}
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: >
./gradlew
-Dorg.gradle.internal.publish.checksums.insecure=true
publish
- name: "📖 Generate Snapshot Documentation"
if: success()
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: >
./gradlew
views-docs:docs
run: ./gradlew views-docs:docs
- name: "📤 Publish Snapshot Documentation to Github Pages"
if: success()
uses: grails/github-pages-deploy-action@grails
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/groovy-joint-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ jobs:
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: >
./gradlew build
./gradlew build --continue
-PgroovyVersion=${{needs.build_groovy.outputs.groovyVersion}}
-x groovydoc
17 changes: 2 additions & 15 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,8 @@ jobs:
- name: "📝 Store the current release version"
id: release_version
run: echo "value=${GITHUB_REF:11}" >> $GITHUB_OUTPUT
- name: "⚙ Run pre-release"
- name: " Run pre-release"
uses: grails/github-actions/pre-release@main
- name: "🧩 Run Assemble"
if: success()
id: assemble
env:
GITHUB_MAVEN_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
run: ./gradlew assemble
- name: "📤 Upload Distribution"
if: success()
uses: actions/upload-artifact@v4
with:
name: grails-views-${{ steps.release_version.outputs.value }}
path: ./**/build/libs/*
- name: "🔐 Generate key file for artifact signing"
env:
SECRING_FILE: ${{ secrets.SECRING_FILE }}
Expand All @@ -57,7 +45,7 @@ jobs:
SIGNING_KEY: ${{ secrets.SIGNING_KEY }}
SIGNING_PASSPHRASE: ${{ secrets.SIGNING_PASSPHRASE }}
run: >
./gradlew
./gradlew --no-build-cache
-Psigning.secretKeyRingFile=${{ github.workspace }}/secring.gpg
publishToSonatype
closeSonatypeStagingRepository
Expand All @@ -72,7 +60,6 @@ jobs:
- name: "📥 Checkout repository"
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
ref: v${{ needs.publish.outputs.release_version }}
- name: "☕️ Setup JDK"
uses: actions/setup-java@v4
Expand Down

0 comments on commit 9a83fc9

Please sign in to comment.