Skip to content

Commit 272eeac

Browse files
committed
ci: add report upload
1 parent 73e3278 commit 272eeac

File tree

1 file changed

+32
-3
lines changed

1 file changed

+32
-3
lines changed

β€Ž.github/workflows/codestyle.ymlβ€Ž

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
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"
1717
on:
1818
push:
1919
branches:
@@ -25,8 +25,8 @@ concurrency:
2525
group: ${{ github.workflow }}-${{ github.ref }}
2626
cancel-in-progress: false
2727
jobs:
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
@@ -44,6 +44,35 @@ jobs:
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

Comments
Β (0)