Skip to content

Commit 1cb253e

Browse files
authored
Merge pull request #51 from guardian/add-setup-sbt-action
Add `setup-sbt` Action
2 parents 7be8e84 + d3016d0 commit 1cb253e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/reusable-release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ jobs:
130130
with:
131131
distribution: corretto
132132
java-version: ${{ steps.establish_java_for_library_build.outputs.library_build_major_java_version }}
133+
- uses: sbt/[email protected]
133134
# - name: Debug MIMA assessment
134135
# run: |
135136
# sbt "show versionPolicyFindIssues"
@@ -268,6 +269,7 @@ jobs:
268269
with:
269270
distribution: corretto
270271
java-version: ${{ needs.generate-version-update-commits.outputs.library_build_major_java_version }}
272+
- uses: sbt/[email protected]
271273
- name: Generate artifacts
272274
run: |
273275
cat << EndOfFile > sbt-commands.txt
@@ -417,6 +419,7 @@ jobs:
417419
distribution: corretto
418420
java-version: 17
419421
cache: sbt # the issue described in https://github.com/actions/setup-java/pull/564 doesn't affect this step (no version.sbt)
422+
- uses: sbt/[email protected]
420423
- name: Release
421424
env:
422425
SONATYPE_TOKEN: ${{ secrets.SONATYPE_TOKEN }}

0 commit comments

Comments
 (0)