1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515
16- name : Code Style
16+ name : " Code Style"
1717on :
1818 push :
1919 branches :
@@ -25,8 +25,8 @@ concurrency:
2525 group : ${{ github.workflow }}-${{ github.ref }}
2626 cancel-in-progress : false
2727jobs :
28- codestyle :
29- name : " Check Code Style "
28+ check_core_projects :
29+ name : " Core Projects "
3030 runs-on : ubuntu-24.04
3131 steps :
3232 - name : " π Output Agent IP" # in the event RAO blocks this agent, this can be used to debug it
4444 develocity-access-key : ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
4545 - name : " π Check Core Projects"
4646 run : ./gradlew codeStyle
47+ - name : " π€ Upload Failure Reports"
48+ if : failure()
49+ uses : actions/upload-artifact@v4
50+ with :
51+ name : reports
52+ path : ' **/build/reports/'
53+ check_gradle_plugin_projects :
54+ name : " Gradle Plugin Projects"
55+ runs-on : ubuntu-24.04
56+ steps :
57+ - name : " π Output Agent IP" # in the event RAO blocks this agent, this can be used to debug it
58+ run : curl -s https://api.ipify.org
59+ - name : " π₯ Checkout repository"
60+ uses : actions/checkout@v4
61+ - name : " βοΈ Setup JDK"
62+ uses : actions/setup-java@v4
63+ with :
64+ distribution : liberica
65+ java-version : 17
66+ - name : " π Setup Gradle"
67+ uses : gradle/actions/setup-gradle@v4
68+ with :
69+ develocity-access-key : ${{ secrets.GRAILS_DEVELOCITY_ACCESS_KEY }}
4770 - name : " π Check Gradle Plugin Projects"
4871 working-directory : grails-gradle
4972 run : ./gradlew codeStyle
73+ - name : " π€ Upload Failure Reports"
74+ if : failure()
75+ uses : actions/upload-artifact@v4
76+ with :
77+ name : reports
78+ path : ' **/build/reports/'
0 commit comments