Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear sbt step preamble in dependency submission job #561

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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