Skip to content

Update

Update #45

Workflow file for this run

name: Gradle Build
on:
pull_request:
push:
branches:
- 'main'
workflow_dispatch:
concurrency:
group: '${{ github.workflow }}-${{ github.ref }}'
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
gradle-build:
name: Gradle Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v4
with:
dependency-graph: generate-and-upload
dependency-graph-exclude-projects: ':(gradm|initialization|project)'
- run: ./gradlew build --no-daemon --stacktrace
gradle-submit-dependency-graph:
name: Gradle Submit Dependency Graph
uses: OmicoDev/gradle-project-initializer-template/.github/workflows/gradle-submit-dependency-graph.yml@main
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
needs: gradle-build
permissions:
contents: write