Skip to content

Configure explicit JDK/SBT setup in Dependency Graph pipeline (#297) #12

Configure explicit JDK/SBT setup in Dependency Graph pipeline (#297)

Configure explicit JDK/SBT setup in Dependency Graph pipeline (#297) #12

# .github/workflows/dependency-graph.yml
name: Update Dependency Graph
on:
push:
branches:
- main # default branch of the project
jobs:
update-graph:
name: Update Dependency Graph
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 11
distribution: 'corretto'
cache: sbt
- uses: sbt/setup-sbt@v1
with:
sbt-runner-version: 1.9.9
- uses: scalacenter/sbt-dependency-submission@v3
with:
## Optional: Define the working directory of your build.
## It should contain the build.sbt file.
working-directory: './'