Skip to content

Commit

Permalink
Merge pull request #23 from sbt/update-default-sbt-1.10.3
Browse files Browse the repository at this point in the history
deps: Update sbt to 1.10.3
  • Loading branch information
eed3si9n authored Oct 31, 2024
2 parents 48a48d7 + ab23488 commit b5b4a98
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ inputs:
default: 1.10.3
runs:
using: "composite"

steps:
- name: Set up cache paths
id: cache-paths
shell: bash
run: |
echo "sbt_toolpath=$RUNNER_TOOL_CACHE/sbt/${{ inputs.sbt-runner-version }}" >> "$GITHUB_OUTPUT"
echo "sbt_downloadpath=$RUNNER_TEMP/_sbt" >> "$GITHUB_OUTPUT"
- name: Check Tool Cache
id: cache-tool-dir
shell: bash
Expand All @@ -26,15 +24,13 @@ runs:
else
echo "cache-hit=false" >> "$GITHUB_OUTPUT"
fi
- name: Cache sbt distribution
id: cache-dir
if: steps.cache-tool-dir.outputs.cache-hit != 'true'
uses: actions/cache@v4
with:
path: ${{ steps.cache-paths.outputs.sbt_toolpath }}
key: ${{ runner.os }}-sbt-${{ inputs.sbt-runner-version }}-1.1.4

- name: "Download and Install sbt"
shell: bash
env:
Expand All @@ -48,7 +44,6 @@ runs:
pushd "${{ steps.cache-paths.outputs.sbt_downloadpath }}"
unzip -o "sbt-${{ inputs.sbt-runner-version }}.zip" -d "${{ steps.cache-paths.outputs.sbt_toolpath }}"
popd
- name: "Setup PATH"
shell: bash
run: |
Expand Down

0 comments on commit b5b4a98

Please # to comment.