This is an automated email from the ASF dual-hosted git repository.

jamesfredley pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/grails-forge-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new 2792068  Add Gradle build step to publish workflow
2792068 is described below

commit 2792068ecd5a23a490a0997d522c7207f1336b39
Author: James Fredley <[email protected]>
AuthorDate: Thu Oct 23 19:55:53 2025 -0400

    Add Gradle build step to publish workflow
    
    Introduces a dedicated Gradle build step in the GitHub Actions publish 
workflow, utilizing secrets for Gradle Enterprise integration. This ensures the 
project is built before deploying the Grails Forge UI.
---
 .github/workflows/publish.yml | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 6971d76..92327f0 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -31,6 +31,15 @@ jobs:
         uses: actions/setup-java@v1
         with:
           java-version: ${{ matrix.java }}
+      - name: Run Build
+        id: build
+        uses: gradle/gradle-build-action@v2
+        env:
+          GRADLE_ENTERPRISE_ACCESS_KEY: ${{ 
secrets.GRADLE_ENTERPRISE_ACCESS_KEY }}
+          GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER: ${{ 
secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_USER }}
+          GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY: ${{ 
secrets.GRADLE_ENTERPRISE_BUILD_CACHE_NODE_KEY }}
+        with:
+          arguments: build
       - name: "🚀 Publish Grails Forge UI"
         uses: apache/grails-github-actions/deploy-github-pages@asf
         env:

Reply via email to