Skip to content

Commit

Permalink
Merge pull request #51 from guardian/add-setup-sbt-action
Browse files Browse the repository at this point in the history
Add `setup-sbt` Action
  • Loading branch information
rtyley authored Dec 10, 2024
2 parents 7be8e84 + d3016d0 commit 1cb253e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ jobs:
with:
distribution: corretto
java-version: ${{ steps.establish_java_for_library_build.outputs.library_build_major_java_version }}
- uses: sbt/setup-sbt@v1.1.4
# - name: Debug MIMA assessment
# run: |
# sbt "show versionPolicyFindIssues"
Expand Down Expand Up @@ -268,6 +269,7 @@ jobs:
with:
distribution: corretto
java-version: ${{ needs.generate-version-update-commits.outputs.library_build_major_java_version }}
- uses: sbt/setup-sbt@v1.1.4
- name: Generate artifacts
run: |
cat << EndOfFile > sbt-commands.txt
Expand Down Expand Up @@ -417,6 +419,7 @@ jobs:
distribution: corretto
java-version: 17
cache: sbt # the issue described in https://github.com/actions/setup-java/pull/564 doesn't affect this step (no version.sbt)
- uses: sbt/setup-sbt@v1.1.4
- name: Release
env:
SONATYPE_TOKEN: ${{ secrets.SONATYPE_TOKEN }}
Expand Down

0 comments on commit 1cb253e

Please sign in to comment.