Skip to content

Switch to dependency submission action #25

Switch to dependency submission action

Switch to dependency submission action #25

name: Update Dependency Graph
on:
push:
branches:
- main
jobs:
submit:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
fetch-depth: 0
- name: Download Java JDK
uses: typelevel/download-java@817e8c0d48dc2e88e155a8e4f69ba493bef621be # v2
id: download-java
with:
distribution: temurin
java-version: 11
- name: Setup Java JDK
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
with:
distribution: jdkfile
java-version: 11
jdkFile: ${{ steps.download-java.outputs.jdkFile }}
- name: Generate Dependency Graph Snapshot
uses: gradle/actions/dependency-submission@v4
env:
DEPENDENCY_GRAPH_INCLUDE_CONFIGURATIONS: 'compileClasspath|runtimeClasspath'