Skip to content

Commit

Permalink
fix: explicitly install java in sbt dep submission workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tjsilver committed Oct 17, 2024
1 parent 16f6fa3 commit e6dcdb0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,14 @@ jobs:
- name: Checkout branch
id: checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Install Java
id: java
uses: actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.2.0
with:
distribution: corretto
java-version: 17
- name: Install sbt
id: install
id: sbt
uses: sbt/setup-sbt@8a071aa780c993c7a204c785d04d3e8eb64ef272 # v1.1.0
- name: Submit dependencies
id: submit
Expand Down
11 changes: 10 additions & 1 deletion packages/dependency-graph-integrator/src/file-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,18 @@ function createLanguageSpecificWorkflowSteps(
id: 'checkout',
uses: 'actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7',
},
{
name: 'Install Java',
id: 'java',
uses: 'actions/setup-java@b36c23c0d998641eff861008f374ee103c25ac73 # v4.2.0',
with: {
distribution: 'corretto',
'java-version': '17',
},
},
{
name: 'Install sbt',
id: 'install',
id: 'sbt',
uses: 'sbt/setup-sbt@8a071aa780c993c7a204c785d04d3e8eb64ef272 # v1.1.0',
},
{
Expand Down

0 comments on commit e6dcdb0

Please sign in to comment.