Skip to content

Commit

Permalink
Merge pull request #561 from armanbilge/fix/submit-deps-sbt-step-prea…
Browse files Browse the repository at this point in the history
…mble

Clear sbt step preamble in dependency submission job
  • Loading branch information
armanbilge authored Jun 23, 2023
2 parents c46d880 + d1afa62 commit 5955d40
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ jobs:

- name: sbt update
if: matrix.java == 'temurin@8' && steps.setup-java-temurin-8.outputs.cache-hit == 'false'
run: sbt '++ ${{ matrix.scala }}' reload +update
run: sbt reload +update

- name: Setup Java (temurin@11)
id: setup-java-temurin-11
Expand All @@ -342,7 +342,7 @@ jobs:

- name: sbt update
if: matrix.java == 'temurin@11' && steps.setup-java-temurin-11.outputs.cache-hit == 'false'
run: sbt '++ ${{ matrix.scala }}' reload +update
run: sbt reload +update

- name: Setup Java (temurin@17)
id: setup-java-temurin-17
Expand All @@ -355,7 +355,7 @@ jobs:

- name: sbt update
if: matrix.java == 'temurin@17' && steps.setup-java-temurin-17.outputs.cache-hit == 'false'
run: sbt '++ ${{ matrix.scala }}' reload +update
run: sbt reload +update

- name: Setup Java (graalvm@17)
id: setup-java-graalvm-17
Expand All @@ -368,7 +368,7 @@ jobs:

- name: sbt update
if: matrix.java == 'graalvm@17' && steps.setup-java-graalvm-17.outputs.cache-hit == 'false'
run: sbt '++ ${{ matrix.scala }}' reload +update
run: sbt reload +update

- name: Setup Java (corretto@17)
id: setup-java-corretto-17
Expand All @@ -381,7 +381,7 @@ jobs:

- name: sbt update
if: matrix.java == 'corretto@17' && steps.setup-java-corretto-17.outputs.cache-hit == 'false'
run: sbt '++ ${{ matrix.scala }}' reload +update
run: sbt reload +update

- name: Submit Dependencies
uses: scalacenter/sbt-dependency-submission@v2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ object TypelevelCiPlugin extends AutoPlugin {
"dependency-submission",
"Submit Dependencies",
scalas = Nil,
sbtStepPreamble = Nil,
javas = List(githubWorkflowJavaVersions.value.head),
steps = githubWorkflowJobSetup.value.toList :+
WorkflowStep.DependencySubmission(
Expand Down

0 comments on commit 5955d40

Please sign in to comment.