From ed74a5c25d3fc74f7bebf110688a6e078ac1b0e2 Mon Sep 17 00:00:00 2001 From: Christian Murphy Date: Thu, 22 Aug 2024 10:26:07 -0700 Subject: [PATCH] chore(ci): setup GitHub action for gradle --- .github/workflows/CI.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index dc0c251b5..dc2dd11f8 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -1,4 +1,6 @@ name: CI +permissions: + contents: write on: push: branches: @@ -37,7 +39,12 @@ jobs: uses: actions/setup-java@v4 with: distribution: ${{ matrix.java-distribution }} - java-version: ${{ matrix.java-version }} + java-version: ${{ matrix.java-version }} + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 + - name: Generate and submit dependency graph + if: ${{ github.event_name == 'push' }} + uses: gradle/actions/dependency-submission@v4 - name: Build run: ./gradlew -i -S build - name: Tomcat Install