Skip to content

Commit

Permalink
Merge pull request #374 from alejandrohdezma/fix/coursier
Browse files Browse the repository at this point in the history
Ensure `sbt` is available in the `release` workflow
  • Loading branch information
alejandrohdezma authored Jan 7, 2025
2 parents c6843f8 + d1dc3df commit 6a5af8a
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
if: github.event_name == 'push'
uses: alejandrohdezma/actions/check-semver-tag@v1

- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
- name: Run Coursier Cache Action
uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6

- name: Run Coursier Setup Action
uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7
with:
distribution: "liberica"
java-version: "11"
cache: "sbt"
jvm: liberica:17
apps: sbt

- name: Run `sbt ci-publish`
run: sbt ci-publish
Expand All @@ -61,11 +64,14 @@ jobs:
ref: main
token: ${{ secrets.ADMIN_GITHUB_TOKEN }}

- uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0
- name: Run Coursier Cache Action
uses: coursier/cache-action@142d2738bd29f0eb9d44610828acb3a19809feab # v6.4.6

- name: Run Coursier Setup Action
uses: coursier/setup-action@62c1c28a0e03df3de0680172df8b829bd80d07a0 # v1.3.7
with:
distribution: "liberica"
java-version: "17"
cache: "sbt"
jvm: liberica:17
apps: sbt

- name: Run `sbt ci-docs`
run: sbt ci-docs
Expand All @@ -87,5 +93,3 @@ jobs:
with:
message: Reset `versionPolicyIntention` [skip ci]
branch: main


0 comments on commit 6a5af8a

Please sign in to comment.