Skip to content

Commit 208ddf9

Browse files
committed
enable graph job
1 parent e81a786 commit 208ddf9

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,39 @@ jobs:
154154
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
155155
SONATYPE_CREDENTIAL_HOST: ${{ secrets.SONATYPE_CREDENTIAL_HOST }}
156156
run: sbt tlCiRelease
157+
158+
dependency-submission:
159+
name: Submit Dependencies
160+
if: github.event.repository.fork == false && github.event_name != 'pull_request'
161+
strategy:
162+
matrix:
163+
os: [ubuntu-22.04]
164+
java: [temurin@8]
165+
runs-on: ${{ matrix.os }}
166+
steps:
167+
- name: Checkout current branch (full)
168+
uses: actions/checkout@v4
169+
with:
170+
fetch-depth: 0
171+
172+
- name: Setup sbt
173+
uses: sbt/setup-sbt@v1
174+
175+
- name: Setup Java (temurin@8)
176+
id: setup-java-temurin-8
177+
if: matrix.java == 'temurin@8'
178+
uses: actions/setup-java@v4
179+
with:
180+
distribution: temurin
181+
java-version: 8
182+
cache: sbt
183+
184+
- name: sbt update
185+
if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false'
186+
run: sbt +update
187+
188+
- name: Submit Dependencies
189+
uses: scalacenter/sbt-dependency-submission@v2
190+
with:
191+
modules-ignore: root_2.12
192+
configs-ignore: test scala-tool scala-doc-tool test-internal

build.sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ ThisBuild / githubWorkflowPublishTargetBranches := Seq(
1313
ThisBuild / scalaVersion := "2.12.20"
1414
ThisBuild / tlJdkRelease := Some(8)
1515
ThisBuild / tlFatalWarnings := false
16-
ThisBuild / tlCiDependencyGraphJob := false
1716

1817
ThisBuild / mergifyStewardConfig ~= (_.map(_.withMergeMinors(true)))
1918

0 commit comments

Comments
 (0)